An implementation of WritableBinaryStream which can write at its end causing the underlying data to grow. This class owns the underlying data.
Declared in <llvm/Support/BinaryByteStream.h>
class AppendingBinaryByteStream
: public WritableBinaryStream
| Name | Description |
|---|---|
WritableBinaryStream | A BinaryStream which can be read from as well as written to. Note that writing to a BinaryStream always necessitates copying from the input buffer to the stream's backing store. Streams are assumed to be buffered so that to be portable it is necessary to call commit() on the stream when all data has been written. |
| Name | Description |
|---|---|
AppendingBinaryByteStream [constructor] | Constructors |
clear | |
commit [virtual] | |
data | |
getEndian [virtual] | |
getFlags [virtual] | Return the properties of this stream. |
getLength [virtual] | |
insert | |
readBytes [virtual] | |
readLongestContiguousChunk [virtual] | |
writeBytes | Attempt to write the given bytes into the stream at the desired offset. This will always necessitate a copy. Cannot shrink or grow the stream, only writes into existing allocated space. |
| Name |
|---|
checkOffsetForRead |
checkOffsetForWrite |