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