decode

fun CharsetDecoder.decode(input: Input, max: Int = Int.MAX_VALUE): String
expect fun CharsetDecoder.decode(input: Input, dst: Appendable, max: Int): Int
actual fun CharsetDecoder.decode(input: Input, dst: Appendable, max: Int): Int