BloombergLP::bslx::GenericOutStream::putUint32

Write the 32-bit unsigned value to this stream.

Synopsis

Declared in <bslx_genericoutstream.h>

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

Description

Write a four-byte two's-complement unsigned integer to the stream.

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

Return Value

a reference providing modifiable access to this stream

Parameters

NameDescription
valueunsigned 32-bit integer to write