DataWriter

The TcAdsWebService.DataWriter object can be used to create a Base64 encoded binary data string for the TcAdsWebService.

TcAdsWebService.DataWriter( );

Functions

Name

Description

getBase64EncodedData

Returns the internal byte buffer as Base64 encoded binary string.

writeSINT

Writes a 1 byte signed numeric value to the internal byte buffer.

writeINT

Writes a 2 byte signed numeric value to the internal byte buffer.

writeDINT

Writes a 4 byte signed numeric value to the internal byte buffer.

writeBYTE

Writes a 1 byte unsigned numeric value to the internal byte buffer.

writeWORD

Writes a 2 byte unsigned numeric value to the internal byte buffer.

writeDWORD

Writes a 4 byte unsigned numeric value to the internal byte buffer.

writeBOOL

Writes a 1 byte boolean value to the internal byte buffer.

writeString

Writes a string of given length to the internal byte buffer.

writeREAL

Writes a 4 byte floating point number to the internal byte buffer.

writeLREAL

Writes a 8 byte floating point number to the internal byte buffer.

getTypeString

Returns an object identifier string.