BloombergLP::bslx::TestInStream::TestInStream

Constructors

Synopses

Declared in <bslx_testinstream.h>

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

explicit
TestInStream();
» more...

Create a test input stream containing the specified srcData.

explicit
TestInStream(bslstl::StringRef const& srcData);
» more...

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

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