[#BloombergLP-bslx-TestInStream-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestInStream.adoc[TestInStream]::TestInStream :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TestInStream( char const* buffer, std::size_t numBytes); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#