Extract the next one‐byte signed integer into the specified variable.
Synopsis
Declared in <bslx_byteinstream.h>
ByteInStream&
getInt8(char& variable);
Description
Assign to the specified variable the one‐byte, two's complement integer comprised of the one byte of this stream at the current cursor location, update the cursor location, and return a reference to this stream. If this stream is initially invalid, this operation has no effect. If this function otherwise fails to extract a valid value, this stream is marked invalid and the value of variable is undefined. Note that the value will be sign‐extended.
Created with MrDocs