com.eignex.kencode/PayloadTransform PayloadTransform interface PayloadTransform(source)Byte transform between the binary format and the text codec, such as a checksum, encryption, or error correction. decode(encode(data)) must equal data.InheritorsCompactZeros 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. then Link copied to clipboard fun PayloadTransform.then(next: PayloadTransform): PayloadTransformRuns this then next on encode, and the reverse on decode.