readByte
[ Function ]
public readByte(): number;
Reads a byte and returns it unchanged. A byte is an unsigned integer with a value range from 0 to 255. The read pointer is advanced by one byte.
Parameter
Name | Type | Description |
---|---|---|
- | - | - |
Return value
Type | Description |
---|---|
The value of the read byte |
Sample - JavaScript
var reader = new TcHmi.Base64BinaryReader('yA==');
var result = reader.readByte(); // 200
Available from version 1.10 |