Package io.ktor.utils.io.charsets

Types

Charset

abstract expect class Charset

CharsetDecoder

abstract expect class CharsetDecoder

CharsetEncoder

abstract expect class CharsetEncoder

Charsets

expect object Charsets

Exceptions

MalformedInputException

expect class MalformedInputException : Throwable

Type Aliases

Charset

actual typealias Charset = Charset

CharsetDecoder

actual typealias CharsetDecoder = CharsetDecoder

CharsetEncoder

actual typealias CharsetEncoder = CharsetEncoder

Extensions for External Classes

java.nio.ByteBuffer

java.nio.charset.Charset

java.nio.charset.CharsetDecoder

java.nio.charset.CharsetEncoder

Functions

decodeUtf8Result

fun decodeUtf8Result(
    numberOfChars: Int,
    requireBytes: Int
): Long

decodeUtf8ResultCombine

fun decodeUtf8ResultCombine(prev: Long, next: Long): Long