kencode

PayloadTransform

Byte transform between the binary format and the text codec, such as a checksum, encryption, or error correction. decode(encode(data)) must equal data.

Inheritors

Functions

decode

abstract fun decode(data: ByteArray): ByteArray(source)

Inverse of encode.

encode

abstract fun encode(data: ByteArray): ByteArray(source)

Transforms data before text encoding.

Link copied to clipboard

Runs this then next on encode, and the reverse on decode.