readUInt16
[ Function ]
public readUInt16(): number;
Reads two bytes and interprets them as an unsigned integer with a value range between 0 and 65,535. The read pointer is advanced by two bytes.
Parameter
Name | Type | Description |
---|---|---|
- | - | - |
Return value
Type | Description |
---|---|
The read UInt16 value |
Sample - JavaScript
var reader = new TcHmi.Base64BinaryReader('MdQ=');
var result1 = reader.readUInt16(); // 54321
Available from version 1.10 |