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

Static Public Member Functions

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

Detailed Description

Definition at line 171 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

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

Definition at line 175 of file SerializationTest.cpp.

175 {
176 return reader.readPointArray(data, arraySize);
177 }
bool readPointArray(SkPoint *points, size_t size)
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Write()

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

Definition at line 172 of file SerializationTest.cpp.

172 {
173 writer.writePointArray(data, arraySize);
174 }
virtual void writePointArray(const SkPoint *point, uint32_t count)=0

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