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

Synopsis

Declared in <bslx_byteinstream.h>

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

Parameters

Name

Description

buffer

memory buffer providing the initial stream contents

numBytes

number of bytes from buffer to use

Created with MrDocs