Constructors

Synopses

Declared in <bslx_byteinstream.h>

Create an empty input byte stream. Note that the constructed object is useless until a buffer is set with the reset method.

explicit
ByteInStream();

Create an input byte stream containing the specified srcData.

explicit
ByteInStream(bslstl::StringRef const& srcData);

Create an input byte stream containing the specified initial numBytes from the specified buffer. The behavior is undefined unless 0 == numBytes if 0 == buffer.

ByteInStream(
    char const* buffer,
    std::size_t numBytes);

Created with MrDocs