Companion

Functions

Link copied to clipboard
@JvmStatic
fun ByteArray.encodeToCharArray(encoder: Encoder<*>): CharArray

Encodes a ByteArray for the provided encoder and returns the encoded data in the form of a CharArray.

Link copied to clipboard
@JvmStatic
fun ByteArray.encodeToString(encoder: Encoder<*>): String

Encodes a ByteArray for the provided encoder and returns the encoded data in the form of a String.