#include <SkStream.h>
|
static int | SizeOfPackedUInt (size_t value) |
| This returns the number of bytes in the stream required to store 'value'. More...
|
|
◆ SkFILEWStream()
SkFILEWStream::SkFILEWStream |
( |
const char |
path[] | ) |
|
◆ ~SkFILEWStream()
SkFILEWStream::~SkFILEWStream |
( |
| ) |
|
|
override |
◆ bytesWritten()
size_t SkFILEWStream::bytesWritten |
( |
| ) |
const |
|
overridevirtual |
◆ flush()
void SkFILEWStream::flush |
( |
| ) |
|
|
overridevirtual |
◆ fsync()
void SkFILEWStream::fsync |
( |
| ) |
|
◆ isValid()
bool SkFILEWStream::isValid |
( |
| ) |
const |
|
inline |
Returns true if the current path could be opened.
◆ newline()
bool SkWStream::newline |
( |
| ) |
|
|
inlineinherited |
◆ SizeOfPackedUInt()
static int SkWStream::SizeOfPackedUInt |
( |
size_t |
value | ) |
|
|
staticinherited |
This returns the number of bytes in the stream required to store 'value'.
◆ write()
bool SkFILEWStream::write |
( |
const void * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
overridevirtual |
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
Implements SkWStream.
◆ write16()
bool SkWStream::write16 |
( |
U16CPU |
value | ) |
|
|
inlineinherited |
◆ write32()
bool SkWStream::write32 |
( |
uint32_t |
v | ) |
|
|
inlineinherited |
◆ write8()
bool SkWStream::write8 |
( |
U8CPU |
value | ) |
|
|
inlineinherited |
◆ writeBigDecAsText()
bool SkWStream::writeBigDecAsText |
( |
int64_t |
, |
|
|
int |
minDigits = 0 |
|
) |
| |
|
inherited |
◆ writeBool()
bool SkWStream::writeBool |
( |
bool |
v | ) |
|
|
inlineinherited |
◆ writeDecAsText()
bool SkWStream::writeDecAsText |
( |
int32_t |
| ) |
|
|
inherited |
◆ writeHexAsText()
bool SkWStream::writeHexAsText |
( |
uint32_t |
, |
|
|
int |
minDigits = 0 |
|
) |
| |
|
inherited |
◆ writePackedUInt()
bool SkWStream::writePackedUInt |
( |
size_t |
| ) |
|
|
inherited |
◆ writeScalar()
bool SkWStream::writeScalar |
( |
SkScalar |
| ) |
|
|
inherited |
◆ writeScalarAsText()
bool SkWStream::writeScalarAsText |
( |
SkScalar |
| ) |
|
|
inherited |
◆ writeStream()
bool SkWStream::writeStream |
( |
SkStream * |
input, |
|
|
size_t |
length |
|
) |
| |
|
inherited |
◆ writeText()
bool SkWStream::writeText |
( |
const char |
text[] | ) |
|
|
inlineinherited |
The documentation for this class was generated from the following file: