writeUInt32

[ Function ]

public writeUInt32(value: number): this;

Encodes an unsigned integer with a value range from 0 to 4,294,967,295 in four bytes and appends them to the data.

Parameter

Name

Type

Description

value

number

The value to be written

Return value

Type

Description

Base64BinaryWriter

This method returns its parent object to allow concatenation of method calls.

Sample - JavaScript

var writer = new TcHmi.Base64BinaryWriter();
var result1 = writer.writeUInt32(1234567890).getEncodedString(); // '0gKWSQ=='
writeUInt32 1:

Available from version 1.10