CharsetEncoder

expect abstract class CharsetEncoder
actual typealias CharsetEncoder = CharsetEncoder
actual abstract class CharsetEncoder(_charset: Charset)

Extensions

Link copied to clipboard
expect val CharsetEncoder.charset: Charset
actual val CharsetEncoder.charset: Charset
Link copied to clipboard
fun CharsetEncoder.encode(input: CharSequence, fromIndex: Int, toIndex: Int, dst: Output)
fun CharsetEncoder.encode(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteReadPacket
fun CharsetEncoder.encode(input: CharArray, fromIndex: Int, toIndex: Int, dst: Output)
Link copied to clipboard
expect fun CharsetEncoder.encodeToByteArray(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteArray
actual fun CharsetEncoder.encodeToByteArray(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteArray
Link copied to clipboard
fun CharsetEncoder.encodeToByteArrayImpl(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteArray
Link copied to clipboard
fun CharsetEncoder.encodeUTF8(input: ByteReadPacket): ByteReadPacket
expect fun CharsetEncoder.encodeUTF8(input: ByteReadPacket, dst: Output)
actual fun CharsetEncoder.encodeUTF8(input: ByteReadPacket, dst: Output)