BinaryStream backed by a single contiguous buffer that never copies on read.
BinaryByteStream does not own the underlying buffer.
| Name | Description |
|---|---|
BinaryStream | An interface for accessing data in a stream-like format without copying. |
| Name | Description |
|---|---|
BinaryByteStream [constructor] | Constructors |
data | Return the underlying contiguous data buffer. |
getEndian [virtual] | Return the endianness of multi-byte values in this stream. |
getFlags [virtual] | Return the properties of this stream. |
getLength [virtual] | Return the number of bytes in this stream. |
readBytes [virtual] | Read Size bytes starting at Offset without copying. |
readLongestContiguousChunk [virtual] | Read the longest contiguous chunk starting at Offset without copying. |
str | Return the underlying buffer as a StringRef. |
| Name | Description |
|---|---|
checkOffsetForRead | Check that Offset and DataSize form a valid read range. |
| Name | Description |
|---|---|
Data | Contiguous bytes that back this stream. |
Endian | Endianness of multi-byte values in the stream. |
| Name | Description |
|---|---|
MemoryBufferByteStream | BinaryStream whose data is owned by an llvm MemoryBuffer. |