CoderObject object

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

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 in PowerScript Reference

Immediately before the Open event occurs in the window.

Destructor in PowerScript Reference

Immediately after the Close event occurs in the window.


Functions

CoderObject function

Datatype returned

Description

Base64Decode in PowerScript Reference

Blob

Decodes a string value using Base64 decoder.

Base64Encode in PowerScript Reference

String

Encodes a blob value using Base64 encoder.

ClassName in PowerScript Reference

String

Returns the name assigned to the object.

GetContextService in PowerScript Reference

Integer

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

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object.

HexDecode in PowerScript Reference

Blob

Decodes a string value using Hex decoder.

HexEncode in PowerScript Reference

String

Encodes a blob value using Hex encoder.

PostEvent in PowerScript Reference

Boolean

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

TriggerEvent in PowerScript Reference

Integer

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

TypeOf in PowerScript Reference

Object

Returns the object type of the object.

UrlDecode in PowerScript Reference

Blob

Decodes a string value using URL decoder.

UrlEncode in PowerScript Reference

String

Encodes a blob value using URL encoder.