encodeToByteArrayImpl

fun CharsetEncoder.encodeToByteArrayImpl(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteArray

Deprecated (with error)

Internal API. Will be hidden in future releases. Use encodeToByteArray instead.

Replace with

encodeToByteArray(input, fromIndex, toIndex)