getEncodedString
[ Function ]
public getEncodedString(): string;
Returns the Base64-encoded string containing the data written so far.
Parameter
Name | Type | Description |
---|---|---|
- | - | - |
Return value
Type | Description |
---|---|
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=='
Available from version 1.10 |