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

Static Public Member Functions

static void Write (SkWriteBuffer &writer, const SkString *string)
 
static void Read (SkReadBuffer &reader, SkString *string)
 

Detailed Description

Definition at line 126 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

static void SerializationUtils< SkString >::Read ( SkReadBuffer reader,
SkString string 
)
inlinestatic

Definition at line 130 of file SerializationTest.cpp.

130 {
131 reader.readString(string);
132 }
void readString(SkString *string)

◆ Write()

static void SerializationUtils< SkString >::Write ( SkWriteBuffer writer,
const SkString string 
)
inlinestatic

Definition at line 127 of file SerializationTest.cpp.

127 {
128 writer.writeString(string->c_str());
129 }
const char * c_str() const
Definition: SkString.h:133
virtual void writeString(std::string_view value)=0

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