[#BloombergLP-balber-BerUtil_StreambufUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::BerUtil_StreambufUtil :relfileprefix: ../../ :mrdocs: Utilities for BDE‐style stream‐buffer input and output. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BerUtil_StreambufUtil; ---- == Description This component‐private utility `struct` provides a namespace for a suite of functions used by `BerUtil` to perform input and output operations on `bsl::streambuf` objects. Note that these functions are intended to adapt the standard stream‐buffer operations to a BDE‐style interface. == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balber/BerUtil_StreambufUtil/getChars.adoc[`getChars`] | Read the specified `bufferLength` number of bytes from the input sequence of the specified `streamBuf`, as if by a call to `streamBuf‐>sgetn(buffer. | xref:BloombergLP/balber/BerUtil_StreambufUtil/peekChar.adoc[`peekChar`] | Read the next byte from the specified `streamBuf` without advancing the read position and load that byte into the specified `value`. | xref:BloombergLP/balber/BerUtil_StreambufUtil/putChars.adoc[`putChars`] | Write the first specified `bufferLength` number of bytes from the specified `buffer` to the specified `streamBuf`, as if by a call to `streamBuf‐>sputn(buffer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#