getLength
[ Function ]
public getLength(): number;
Returns the length of the data written so far in bytes.
Parameter
Name | Type | Description |
---|---|---|
- | - | - |
Return value
Type | Description |
---|---|
The number of bytes written so far |
Sample - JavaScript
var writer = new TcHmi.Base64BinaryWriter(TcHmi.Endianness.LittleEndian, 20);
writer.writeString('Hello, World!');
var result1 = writer.getLength(); // 13
Available from version 1.10 |