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

Static Public Member Functions

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

Detailed Description

Definition at line 135 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

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

Definition at line 139 of file SerializationTest.cpp.

139 {
140 return reader.readByteArray(data, arraySize);
141 }
bool readByteArray(void *value, size_t size)
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Write()

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

Definition at line 136 of file SerializationTest.cpp.

136 {
137 writer.writeByteArray(data, arraySize);
138 }
virtual void writeByteArray(const void *data, size_t size)=0

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