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

Static Public Member Functions

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

Detailed Description

Definition at line 153 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

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

Definition at line 157 of file SerializationTest.cpp.

157 {
158 return reader.readColor4fArray(data, arraySize);
159 }
bool readColor4fArray(SkColor4f *colors, size_t size)
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Write()

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

Definition at line 154 of file SerializationTest.cpp.

154 {
155 writer.writeColor4fArray(data, arraySize);
156 }
virtual void writeColor4fArray(const SkColor4f *color, uint32_t count)=0

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