|
| WritableBinaryStreamRef ()=default |
|
| WritableBinaryStreamRef (WritableBinaryStream &Stream) |
|
| WritableBinaryStreamRef (WritableBinaryStream &Stream, uint32_t Offset, Optional< uint32_t > Length) |
|
| WritableBinaryStreamRef (MutableArrayRef< uint8_t > Data, llvm::support::endianness Endian) |
|
| WritableBinaryStreamRef (const WritableBinaryStreamRef &Other)=default |
|
WritableBinaryStreamRef & | operator= (const WritableBinaryStreamRef &Other)=default |
|
| WritableBinaryStreamRef (WritableBinaryStreamRef &&Other)=default |
|
WritableBinaryStreamRef & | operator= (WritableBinaryStreamRef &&Other)=default |
|
| WritableBinaryStreamRef (WritableBinaryStreamRef &S, uint32_t Offset, uint32_t Length)=delete |
|
Error | writeBytes (uint32_t Offset, ArrayRef< uint8_t > Data) const |
| Given an Offset into this WritableBinaryStreamRef and some input data, writes the data to the underlying stream. More...
|
|
| operator BinaryStreamRef () const |
| Conver this WritableBinaryStreamRef to a read-only BinaryStreamRef. More...
|
|
Error | commit () |
| For buffered streams, commits changes to the backing store. More...
|
|
llvm::support::endianness | getEndian () const |
|
uint32_t | getLength () const |
|
WritableBinaryStreamRef | drop_front (uint32_t N) const |
| Return a new BinaryStreamRef with the first N elements removed. More...
|
|
WritableBinaryStreamRef | drop_back (uint32_t N) const |
| Return a new BinaryStreamRef with the last N elements removed. More...
|
|
WritableBinaryStreamRef | keep_front (uint32_t N) const |
| Return a new BinaryStreamRef with only the first N elements remaining. More...
|
|
WritableBinaryStreamRef | keep_back (uint32_t N) const |
| Return a new BinaryStreamRef with only the last N elements remaining. More...
|
|
WritableBinaryStreamRef | drop_symmetric (uint32_t N) const |
| Return a new BinaryStreamRef with the first and last N elements removed. More...
|
|
WritableBinaryStreamRef | slice (uint32_t Offset, uint32_t Len) const |
| Return a new BinaryStreamRef with the first Offset elements removed, and retaining exactly Len elements. More...
|
|
bool | valid () const |
|
bool | operator== (const WritableBinaryStreamRef &Other) const |
|
Definition at line 223 of file BinaryStreamRef.h.