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

Synopsis

Declared in <bslx_testinstream.h>

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

Parameters

Name

Description

buffer

contiguous bytes to extract from

numBytes

number of bytes in buffer

Created with MrDocs