Write a six‐byte unsigned integer value to this stream.

Synopsis

Declared in <bslx_testoutstream.h>

TestOutStream&
putUint48(bsls::Types::Uint64 value);

Description

Write to this stream the one‐byte type indicator for a six‐byte unsigned integer and the six‐byte, two's complement unsigned integer (in network byte order) comprised of the least‐significant six 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. If the next output operation has been set to be marked invalid (see makeNextInvalid), reset this marking and emit the invalid indicator instead of the type indicator.

Return Value

a reference to this stream

Parameters

Name

Description

value

value to write

Created with MrDocs