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

TE2000 | HMI Engineering · 0 次阅读

getLength

[ Function ]

public getLength(): number;

Returns the length of the data in bytes.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

number

The total number of bytes contained in the data

Sample - JavaScript

var reader = new TcHmi.Base64BinaryReader('SGVsbG8sIFdvcmxkIQ==');
var result1 = reader.getLength(); // 13
getLength 1:

Available from version 1.10