Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
SerializationUtils< int32_t > Struct Reference

Static Public Member Functions

static void Write (SkWriteBuffer &writer, int32_t *data, uint32_t arraySize)
 
static bool Read (SkReadBuffer &reader, int32_t *data, uint32_t arraySize)
 

Detailed Description

Definition at line 162 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

static bool SerializationUtils< int32_t >::Read ( SkReadBuffer reader,
int32_t *  data,
uint32_t  arraySize 
)
inlinestatic

Definition at line 166 of file SerializationTest.cpp.

166 {
167 return reader.readIntArray(data, arraySize);
168 }
bool readIntArray(int32_t *values, size_t size)
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Write()

static void SerializationUtils< int32_t >::Write ( SkWriteBuffer writer,
int32_t *  data,
uint32_t  arraySize 
)
inlinestatic

Definition at line 163 of file SerializationTest.cpp.

163 {
164 writer.writeIntArray(data, arraySize);
165 }
virtual void writeIntArray(const int32_t *value, uint32_t count)=0

The documentation for this struct was generated from the following file: