constructor

[ Function ]

public constructor(data: string, endianness = TcHmi.Endianness.LittleEndian);

Creates a new Base64BinaryReader.

Parameter

Name

Type

Description

data

string

A string in Base64 format containing the data to be read.

endianness [ optional ]

Endianness

The byte order in which data was stored in the Base64 string.

If this parameter is not specified, the default value LittleEndian is used.

Sample - JavaScript

var reader = new TcHmi.Base64BinaryReader('khAAAA==');
var readerBigEndian = new TcHmi.Base64BinaryReader('AAAQkg==', TcHmi.Endianness.BigEndian);
constructor 1:

Available from version 1.10