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