#include <SkStream.h>
|
static int | SizeOfPackedUInt (size_t value) |
| This returns the number of bytes in the stream required to store 'value'. More...
|
|
◆ ~SkWStream()
virtual SkWStream::~SkWStream |
( |
| ) |
|
|
virtual |
◆ SkWStream()
◆ bytesWritten()
virtual size_t SkWStream::bytesWritten |
( |
| ) |
const |
|
pure virtual |
◆ flush()
virtual void SkWStream::flush |
( |
| ) |
|
|
virtual |
◆ newline()
bool SkWStream::newline |
( |
| ) |
|
|
inline |
◆ SizeOfPackedUInt()
static int SkWStream::SizeOfPackedUInt |
( |
size_t |
value | ) |
|
|
static |
This returns the number of bytes in the stream required to store 'value'.
◆ write()
virtual bool SkWStream::write |
( |
const void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
Called to write bytes to a SkWStream.
Returns true on success
- Parameters
-
buffer | the address of at least size bytes to be written to the stream |
size | The number of bytes in buffer to write to the stream |
- Returns
- true on success
Implemented in SkDynamicMemoryWStream, SkFILEWStream, and SkNullWStream.
◆ write16()
bool SkWStream::write16 |
( |
U16CPU |
value | ) |
|
|
inline |
◆ write32()
bool SkWStream::write32 |
( |
uint32_t |
v | ) |
|
|
inline |
◆ write8()
bool SkWStream::write8 |
( |
U8CPU |
value | ) |
|
|
inline |
◆ writeBigDecAsText()
bool SkWStream::writeBigDecAsText |
( |
int64_t |
, |
|
|
int |
minDigits = 0 |
|
) |
| |
◆ writeBool()
bool SkWStream::writeBool |
( |
bool |
v | ) |
|
|
inline |
◆ writeDecAsText()
bool SkWStream::writeDecAsText |
( |
int32_t |
| ) |
|
◆ writeHexAsText()
bool SkWStream::writeHexAsText |
( |
uint32_t |
, |
|
|
int |
minDigits = 0 |
|
) |
| |
◆ writePackedUInt()
bool SkWStream::writePackedUInt |
( |
size_t |
| ) |
|
◆ writeScalar()
bool SkWStream::writeScalar |
( |
SkScalar |
| ) |
|
◆ writeScalarAsText()
bool SkWStream::writeScalarAsText |
( |
SkScalar |
| ) |
|
◆ writeStream()
bool SkWStream::writeStream |
( |
SkStream * |
input, |
|
|
size_t |
length |
|
) |
| |
◆ writeText()
bool SkWStream::writeText |
( |
const char |
text[] | ) |
|
|
inline |
The documentation for this class was generated from the following file: