getEncodedString

[ Function ]

public getEncodedString(): string;

Returns the Base64-encoded string containing the data written so far.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string

The Base64-encoded string containing the data written so far.

Sample - JavaScript

var writer = new TcHmi.Base64BinaryWriter();
writer.writeString('Hello, World!');
var result1 = writer.getEncodedString(); // 'SGVsbG8sIFdvcmxkIQ=='
getEncodedString 1:

Available from version 1.10