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

Static Public Member Functions

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

Detailed Description

Definition at line 189 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

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

Definition at line 193 of file SerializationTest.cpp.

193 {
194 return reader.readScalarArray(data, arraySize);
195 }
bool readScalarArray(SkScalar *values, size_t size)
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Write()

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

Definition at line 190 of file SerializationTest.cpp.

190 {
191 writer.writeScalarArray(data, arraySize);
192 }
virtual void writeScalarArray(const SkScalar *value, uint32_t count)=0

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