BaseSingleByteCharset

abstract class BaseSingleByteCharset(val name: String) : Charset

Inheritors

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun decode(out: StringBuilder, src: ByteArray, start: Int = 0, end: Int = src.size): Int

Decodes the src start-end range using this Charset and writes the result into the out.

Link copied to clipboard
abstract fun encode(out: ByteArrayBuilder, src: CharSequence, start: Int = 0, end: Int = src.length)
Link copied to clipboard
open override fun estimateNumberOfBytesForCharacters(nchars: Int): Int
Link copied to clipboard
open override fun estimateNumberOfCharactersForBytes(nbytes: Int): Int