BloombergLP::bslx::GenericOutStream::putInt16

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

Synopsis

Declared in <bslx_genericoutstream.h>

GenericOutStream<STREAMBUF>&
putInt16(int value);