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