decodeToString

abstract fun decodeToString(data: ByteArray): String

Decode: Bytes to String

Decode the provided data, returning a decoded string.

Return

Decoded string.

Parameters

data

Data to decode.


abstract fun decodeToString(string: String): String

Decode: String to String

Decode the provided string, returning a decoded string.

Return

Decoded string.

Parameters

string

String to decode.