Constructors
Declared in <bslx_byteoutstream.h>
Create an empty output byte stream using the specified versionSelector.
explicit
ByteOutStream(
int versionSelector,
bslma::Allocator* basicAllocator = 0);
» more...
Create an empty output byte stream with the specified initial capacity.
ByteOutStream(
int versionSelector,
std::size_t initialCapacity,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| versionSelector | BDEX version selector (typically "YYYYMMDD") |
| basicAllocator | memory allocator; null uses the default |
| initialCapacity | initial buffer capacity, in bytes |