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. *

Types

Functions and constants

public constant ENCODES_PER_ROUND = 1000

Declaration shown above.

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

public constant DECODES_PER_ROUND = 25

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. *

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

public function ByteBuffer.encodeBase64() returns ChunkedString

Encodes the bytes in this buffer to a string according to the Base64 format. The buffer is consumed (destroyed); do not use it afterwards.

public function ChunkedString.decodeBase64() returns ByteBuffer

Decodes the bytes encoded into this string according to the Base64 format. The chunked string is consumed (destroyed); do not use it afterwards.

public function string.decodeBase64() returns ByteBuffer

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