Write a two‐byte signed integer to this stream.
Synopsis
Declared in <bslx_byteoutstream.h>
ByteOutStream&
putInt16(int value);
Description
Write to this stream 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.
Return Value
a reference to this stream
Parameters
Name |
Description |
value |
signed integer to write |
Created with MrDocs