Write a one‐byte signed integer value to this stream.
Synopsis
Declared in <bslx_testoutstream.h>
TestOutStream&
putInt8(int value);
Description
Write to this stream the one‐byte type indicator for a one‐byte integer and the one‐byte, two's complement integer comprised of the least‐significant one byte of the specified value, 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