decodeToByteArray
Decode a CharSequence.
Return
The array of decoded data.
Parameters
The Decoder to use.
See also
Throws
If decoding failed, such as the decoder rejecting an invalid character or sequence.
If the decoded output would exceed Int.MAX_VALUE.
Decode len number of characters from the sequence, starting at index offset.
Return
The array of decoded data.
Parameters
The Decoder to use.
The index in the sequence to start at.
the number of characters, starting at index offset.
See also
Throws
If decoding failed, such as the decoder rejecting an invalid character or sequence.
If EncoderDecoder.Config.decodeOutMaxSizeOrFail throws an exception (i.e. output would exceed Int.MAX_VALUE).
Decode a CharArray.
Return
The array of decoded data.
Parameters
The Decoder to use.
See also
Throws
If decoding failed, such as the decoder rejecting an invalid character or sequence.
If the decoded output would exceed Int.MAX_VALUE.
Decode len number of characters from the array, starting at index offset.
Return
The array of decoded data.
Parameters
The Decoder to use.
The index in the array to start at.
the number of characters, starting at index offset.
See also
Throws
If decoding failed, such as the decoder rejecting an invalid character or sequence.
If EncoderDecoder.Config.decodeOutMaxSizeOrFail throws an exception (i.e. output would exceed Int.MAX_VALUE).