readSByte
[ Function ]
public readSByte(): number;
Reads a byte and interprets this as a signed integer with a value range between -128 and 127. The read pointer is advanced by one byte.
Parameter
Name | Type | Description |
---|---|---|
- | - | - |
Return value
Type | Description |
---|---|
The read SByte value |
Sample - JavaScript
var reader = new TcHmi.Base64BinaryReader('f4A=');
var result1 = reader.readSByte(); // 127
var result2 = reader.readSByte(); // -128
Available from version 1.10 |