Base64

File & Network View source
Base64

Specifies how many characters to encode per a single execute() call. This value has been tuned to work under all optimization settings and with stacktraces included. *

Source on GitHub

Classes

Base64Encoder

public class Base64Encoder

Base64Decoder

public class Base64Decoder

Extension Functions

ByteBuffer.encodeBase64

public function ByteBuffer.encodeBase64() returns ChunkedString

Encodes the bytes in this buffer to a string according to the Base64 format.

ChunkedString.decodeBase64

public function ChunkedString.decodeBase64() returns ByteBuffer

Decodes the bytes encoded into this string according to the Base64 format.

string.decodeBase64

public function string.decodeBase64() returns ByteBuffer

Decodes the bytes encoded into this string according to the Base64 format.

Constants

ENCODES_PER_ROUND

public constant ENCODES_PER_ROUND = 1000

🔧 Configurable. Override it in your map’s config package.

DECODES_PER_ROUND

public constant DECODES_PER_ROUND = 25

🔧 Configurable. Override it in your map’s config package.

Specifies how many chunks to decode per a single execute() call. This value has been tuned to work under all optimization settings and with stacktraces included. *