decode

abstract fun decode(out: StringBuilder, src: ByteArray, start: Int = 0, end: Int = src.size): Int

Decodes the src start-end range using this Charset and writes the result into the out.

Returns the number of consumed bytes (end-start if not under-flowing) and less if a character is not complete.