#include <byte_buffer_streams.h>
Definition at line 19 of file byte_buffer_streams.h.
◆ ByteBufferStreamReader()
flutter::ByteBufferStreamReader::ByteBufferStreamReader |
( |
const uint8_t * |
bytes, |
|
|
size_t |
size |
|
) |
| |
|
inlineexplicit |
◆ ~ByteBufferStreamReader()
virtual flutter::ByteBufferStreamReader::~ByteBufferStreamReader |
( |
| ) |
|
|
virtualdefault |
◆ ReadAlignment()
void flutter::ByteBufferStreamReader::ReadAlignment |
( |
uint8_t |
alignment | ) |
|
|
inlineoverridevirtual |
◆ ReadByte()
uint8_t flutter::ByteBufferStreamReader::ReadByte |
( |
| ) |
|
|
inlineoverridevirtual |
◆ ReadBytes()
void flutter::ByteBufferStreamReader::ReadBytes |
( |
uint8_t * |
buffer, |
|
|
size_t |
length |
|
) |
| |
|
inlineoverridevirtual |
Implements flutter::ByteStreamReader.
Definition at line 38 of file byte_buffer_streams.h.
39 if (location_ + length > size_) {
40 std::cerr <<
"Invalid read in StandardCodecByteStreamReader" << std::endl;
43 std::memcpy(buffer, &bytes_[location_], length);
The documentation for this class was generated from the following file: