setOffset
[ Function ]
public setOffset(offset: number): void;
Sets the position of the read pointer.
Parameter
Name | Type | Description |
---|---|---|
offset | The new position of the read pointer |
Return value
Type | Description |
---|---|
void | No return value |
Sample - JavaScript
var reader = new TcHmi.Base64BinaryReader('SGVsbG8sIFdvcmxkIQ==');
reader.setOffset(7);
var result1 = reader.readString(); // 'World!'
Available from version 1.10 |