Base64

public class
system.utils.Base64

Description

Utility for conversion to/from Base64.

API overview

Constructor

Base64 ()

Functions

Public functions

decode ( base64: String , data: ByteArray ): Void static native

Convert data from a Base64 string into the provided ByteArray

encode ( data: ByteArray ): String static native

Convert binary data in a ByteArray to a Base64 encoded string

Constructor

Base64 ()

Functions

decode ( base64: String , data: ByteArray ): Void

static native

Convert data from a Base64 string into the provided ByteArray.

Parameters

base64: String
data: ByteArray


encode ( data: ByteArray ): String

static native

Convert binary data in a ByteArray to a Base64 encoded string.

Parameters

data: ByteArray


getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: