toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.lang
/
UTF16Charset
UTF16Charset
class
UTF16Charset
(
val
le
:
Boolean
)
:
Charset
Members
Constructors
UTF16Charset
Link copied to clipboard
constructor
(
le
:
Boolean
)
Properties
le
Link copied to clipboard
val
le
:
Boolean
name
Link copied to clipboard
val
name
:
String
Functions
decode
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
.
encode
Link copied to clipboard
open
override
fun
encode
(
out
:
ByteArrayBuilder
,
src
:
CharSequence
,
start
:
Int
,
end
:
Int
)
estimate
Number
Of
Bytes
For
Characters
Link copied to clipboard
open
override
fun
estimateNumberOfBytesForCharacters
(
nchars
:
Int
)
:
Int
estimate
Number
Of
Characters
For
Bytes
Link copied to clipboard
open
override
fun
estimateNumberOfCharactersForBytes
(
nbytes
:
Int
)
:
Int