UTF16Charset

class UTF16Charset(val le: Boolean) : Charset

Constructors

Link copied to clipboard
constructor(le: Boolean)

Properties

Link copied to clipboard
val le: Boolean
Link copied to clipboard

Functions

Link copied to clipboard
open override fun decode(out: StringBuilder, src: ByteArray, start: Int, end: Int): Int

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

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