CoderObject object

The CoderObject object encodes and decodes the blob or string data using the popular encoders such as Hex, Base64, URL etc.

Note

This object cannot be referenced in the .NET Assembly component, otherwise the component will fail to be deployed.

Note

CoderObject (as well as HTTPClient, RESTClient, CrypterObject, CompressorObject, DotNetAssembly, JSONGenerator, JSONParser, JSONPackage, OAuthClient, PDF Builder objects, SMTPClient, PowerServerLabel, PowerServerResult) does not support multi-threading.

Properties

CoderObject property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.


Events

CoderObject event

Occurs

Constructor

Immediately before the Open event occurs in the window.

Destructor

Immediately after the Close event occurs in the window.


Functions

CoderObject function

Datatype returned

Description

Base32Decode

Blob

Decodes a string value using Base32 decoder.

Base32Encode

String

Encodes a blob value using Base32 encoder.

Base64Decode

Blob

Decodes a string value using Base64 decoder.

Base64Encode

String

Encodes a blob value using Base64 encoder.

Base64UrlDecode

Blob

Decodes a string value using Base64Url decoder.

Base64UrlEncode

String

Encodes a blob value using Base64Url encoder.

ClassName

String

Returns the name assigned to the object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

HexDecode

Blob

Decodes a string value using Hex decoder.

HexEncode

String

Encodes a blob value using Hex encoder.

PostEvent

Boolean

Adds an event to the end of the message queue for the object.

TriggerEvent

Integer

Triggers a specified event in the object and executes the script for the event.

TypeOf

Object

Returns the object type of the object.

UrlDecode

Blob

Decodes a string value using URL decoder.

UrlEncode

String

Encodes a blob value using URL encoder.