korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-string
/
korlibs.io.lang
/
ASCII
ASCII
object
ASCII
:
SingleByteCharset
Members
Properties
conv
Link copied to clipboard
val
conv
:
String
name
Link copied to clipboard
val
name
:
String
v
Link copied to clipboard
val
v
:
ByteArray
Functions
decode
Link copied to clipboard
open
override
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
.
encode
Link copied to clipboard
open
override
fun
encode
(
out
:
ByteArrayBuilder
,
src
:
CharSequence
,
start
:
Int
=
0
,
end
:
Int
=
src.length
)
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