BloombergLP::bslx::GenericOutStream::putUint8

Write a one-byte unsigned integer to this stream.

Synopsis

Declared in <bslx_genericoutstream.h>

GenericOutStream<STREAMBUF>&
putUint8(unsigned int value);

Description

Write to the stream supplied at construction the one-byte, two's complement unsigned integer comprised of the least-significant one byte of the specified value, and return a reference to this stream. If this stream is initially invalid, this operation has no effect.

Return Value

a reference to this stream

Parameters

NameDescription
valueunsigned integer to write