Flutter Engine
The Flutter Engine
|
Go to the source code of this file.
Classes | |
class | SkDebugfStream |
Functions | |
sk_sp< SkData > | SkCopyStreamToData (SkStream *stream) |
bool | SkStreamCopy (SkWStream *out, SkStream *input) |
bool | StreamRemainingLengthIsBelow (SkStream *stream, size_t len) |
Copy the provided stream to an SkData variable.
Note: Assumes the stream is at the beginning. If it has a length, but is not at the beginning, this call will fail (return NULL).
stream | SkStream to be copied into data. |
Definition at line 937 of file SkStream.cpp.
Copies the input stream from the current position to the end. Does not rewind the input stream.
Definition at line 954 of file SkStream.cpp.
bool StreamRemainingLengthIsBelow | ( | SkStream * | stream, |
size_t | len | ||
) |
Definition at line 976 of file SkStream.cpp.