A copyable, writable window into a WritableBinaryStream.
Synopsis
Declared in <llvm/Support/BinaryStreamRef.h>
class WritableBinaryStreamRef
: public BinaryStreamRefBase<WritableBinaryStreamRef, WritableBinaryStream>
Base Classes
Name |
Description |
|
Common stuff for mutable and immutable StreamRefs. |
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
For buffered streams, commits changes to the backing store. |
|
Return a new BinaryStreamRef with the last |
|
Return a new BinaryStreamRef with the first |
|
Return a new BinaryStreamRef with the first and last |
|
Return the endianness of multi‐byte values in the underlying stream. |
|
Return the length in bytes of this stream reference's view. |
|
Return a new BinaryStreamRef with only the last |
|
Return a new BinaryStreamRef with only the first |
|
Return a new BinaryStreamRef with the first |
|
Return true if this reference refers to a valid underlying stream. |
|
Given an Offset into this WritableBinaryStreamRef and some input data, writes the data to the underlying stream. |
|
Conver this WritableBinaryStreamRef to a read‐only BinaryStreamRef. |
Protected Member Functions
Name |
Description |
Assignment operators |
|
Validate that |
Protected Data Members
Name |
Description |
Non‐owning pointer to the underlying stream implementation. |
|
Explicit length of this view, or unset when length‐tracking. |
|
Shared ownership of the underlying stream, if any. |
|
Byte offset into the underlying stream where this view begins. |
Friends
Name |
Description |
Common stuff for mutable and immutable StreamRefs. |
Non-Member Functions
Name |
Description |
Compare two stream references for equality of impl, offset, and length. |
Created with MrDocs