decodeToString

expect open override fun decodeToString(data: ByteArray): String

Decode the provided data from Base64, returning a regular string value, encoded as UTF-8.

Return

Decoded string value.

Parameters

data

Data to decode from Base64.


expect open override fun decodeToString(string: String): String

Decode the provided string from Base64, returning a regular string value, encoded as UTF-8.

Return

Decoded string value.

Parameters

string

String to decode from Base64.

actual open override fun decodeToString(data: ByteArray): String

Decode the provided data from Base64, returning a regular string value, encoded as UTF-8.

Return

Decoded string value.

Parameters

data

Data to decode from Base64.


actual open override fun decodeToString(string: String): String

Decode the provided string from Base64, returning a regular string value, encoded as UTF-8.

Return

Decoded string value.

Parameters

string

String to decode from Base64.