BloombergLP::bslx::ByteOutStream::putUint40

Write a five-byte unsigned integer to this stream.

Synopsis

Declared in <bslx_byteoutstream.h>

ByteOutStream&
putUint40(bsls::Types::Uint64 value);

Description

Write to this stream the five-byte, two's complement unsigned integer (in network byte order) comprised of the least-significant five 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 to this stream

Parameters

NameDescription
valueunsigned integer to write