Package-level declarations

Types

Link copied to clipboard
expect abstract class Charset
actual abstract class Charset
actual abstract class Charset
actual abstract class Charset
Link copied to clipboard
expect abstract class CharsetDecoder
actual abstract class CharsetDecoder
actual abstract class CharsetDecoder
actual abstract class CharsetDecoder
Link copied to clipboard
expect abstract class CharsetEncoder
actual abstract class CharsetEncoder
actual abstract class CharsetEncoder
actual abstract class CharsetEncoder
Link copied to clipboard
expect object Charsets
actual object Charsets
actual object Charsets
actual typealias Charsets = kotlin.text.Charsets
actual object Charsets
actual object Charsets
actual object Charsets
Link copied to clipboard
expect open class MalformedInputException(message: String) : IOException
actual open class MalformedInputException(message: String) : IOException
actual open class MalformedInputException(message: String) : IOException
actual open class MalformedInputException(message: String) : IOException
Link copied to clipboard

Properties

Link copied to clipboard

Decoder's charset it is created for.

Decoder's charset it is created for.

Link copied to clipboard
expect val Charset.name: String
actual val Charset.name: String
actual val Charset.name: String
actual val Charset.name: String

Functions

Link copied to clipboard
fun CharsetDecoder.decode(input: Source, max: Int = Int.MAX_VALUE): String
expect fun CharsetDecoder.decode(input: Source, dst: Appendable, max: Int): Int
actual fun CharsetDecoder.decode(input: Source, dst: Appendable, max: Int): Int
actual fun CharsetDecoder.decode(input: Source, dst: Appendable, max: Int): Int
actual fun CharsetDecoder.decode(input: Source, dst: Appendable, max: Int): Int
actual fun CharsetDecoder.decode(input: Source, dst: Appendable, max: Int): Int
actual fun CharsetDecoder.decode(input: Source, dst: Appendable, max: Int): Int
Link copied to clipboard
fun CharsetEncoder.encode(input: CharSequence, fromIndex: Int = 0, toIndex: Int = input.length): ByteReadPacket
fun CharsetEncoder.encode(input: CharArray, fromIndex: Int, toIndex: Int, dst: Sink)
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, toIndex: Int): ByteArray
actual fun CharsetEncoder.encodeToByteArray(input: CharSequence, fromIndex: Int, toIndex: Int): ByteArray
actual fun CharsetEncoder.encodeToByteArray(input: CharSequence, fromIndex: Int, toIndex: Int): ByteArray
Link copied to clipboard
expect fun Charsets.forName(name: String): Charset

Find a charset by name.

actual fun Charsets.forName(name: String): Charset

Find a charset by name.

actual fun Charsets.forName(name: String): Charset

Find a charset by name.

actual fun Charsets.forName(name: String): Charset

Find a charset by name.

Link copied to clipboard
expect fun Charsets.isSupported(name: String): Boolean

Check if a charset is supported by the current platform.

actual fun Charsets.isSupported(name: String): Boolean

Check if a charset is supported by the current platform.

actual fun Charsets.isSupported(name: String): Boolean

Check if a charset is supported by the current platform.

actual fun Charsets.isSupported(name: String): Boolean

Check if a charset is supported by the current platform.

Link copied to clipboard
Link copied to clipboard