Infosys在阅读器中打开 / AI 翻译

TE2000 | HMI Engineering · 0 次阅读

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

number

The value of the read byte

Sample - JavaScript

var reader = new TcHmi.Base64BinaryReader('yA==');
var result = reader.readByte(); // 200
readByte 1:

Available from version 1.10