Package io.ktor.utils.io.charsets
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual open class MalformedInputException(message: String) : MalformedInputException
Content copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun CharsetDecoder.decode(input: Input, max: Int = Int.MAX_VALUE): String
Content copied to clipboard
expect fun CharsetDecoder.decode(input: Input, dst: Appendable, max: Int): Int
Content copied to clipboard
actual fun CharsetDecoder.decode(input: Input, dst: Appendable, max: Int): Int
Content copied to clipboard
Link copied to clipboard
expect fun CharsetDecoder.decodeExactBytes(input: Input, inputLength: Int): String
Content copied to clipboard
actual fun CharsetDecoder.decodeExactBytes(input: Input, inputLength: Int): String
Content copied to clipboard
actual fun CharsetDecoder.decodeExactBytes(input: Input, inputLength: Int): String
Content copied to clipboard
Link copied to clipboard
fun ByteBuffer.decodeUTF8Line(out: CharArray, offset: Int = 0, length: Int = out.size): Long
Content copied to clipboard
Link copied to clipboard
fun CharsetEncoder.encode(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteReadPacket
Content copied to clipboard
fun CharsetEncoder.encode(input: CharArray, fromIndex: Int, toIndex: Int, dst: Output)
Content copied to clipboard
Content copied to clipboard
Link copied to clipboard
expect fun CharsetEncoder.encodeToByteArray(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteArray
Content copied to clipboard
actual fun CharsetEncoder.encodeToByteArray(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteArray
Content copied to clipboard
actual fun CharsetEncoder.encodeToByteArray(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteArray
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard