Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-io
0.7.0
common
switch theme
kotlinx-io-bytestring
kotlinx.
io.
bytestring
append()
as
Read
Only
Byte
Buffer()
build
Byte
String()
Byte
String
Companion
Byte
String()
Byte
String
Builder
content
Equals()
decode()
decode
Into
Byte
Array()
decode
To
Byte
String()
decode
To
String()
encode()
encode
Into
Byte
Array()
encode
To
Appendable()
encode
To
Byte
Array()
encode
To
Byte
String()
ends
With()
get
Byte
String()
hex
To
Byte
String()
index
Of()
indices
is
Empty()
is
Not
Empty()
last
Index
Of()
put
Byte
String()
starts
With()
to
Byte
String()
to
Hex
String()
to
NSData()
kotlinx-io-core
kotlinx.
io
as
Byte
Channel()
as
Input
Stream()
as
NSInput
Stream()
as
NSOutput
Stream()
as
Output
Stream()
as
Sink()
as
Source()
Buffer
buffered()
copy
To()
Delicate
Io
Api
discarding
Sink()
EOFException
index
Of()
Internal
Io
Api
IOException
Raw
Sink
Raw
Source
read
At
Most
To()
read
Byte
Array()
read
Byte
String()
read
Code
Point
Value()
read
Decimal
Long()
read
Double()
read
Double
Le()
read
Float()
read
Float
Le()
read
Hexadecimal
Unsigned
Long()
read
Int
Le()
read
Line()
read
Line
Strict()
read
Long
Le()
read
Short
Le()
read
String()
read
To()
read
UByte()
read
UInt()
read
UInt
Le()
read
ULong()
read
ULong
Le()
read
UShort()
read
UShort
Le()
Segment
Sink
snapshot()
Source
starts
With()
transfer
From()
Unsafe
Io
Api
write()
write
Code
Point
Value()
write
Decimal
Long()
write
Double()
write
Double
Le()
write
Float()
write
Float
Le()
write
Hexadecimal
Unsigned
Long()
write
Int
Le()
write
Long
Le()
write
Short
Le()
write
String()
write
To
Internal
Buffer()
write
UByte()
write
UInt()
write
UInt
Le()
write
ULong()
write
ULong
Le()
write
UShort()
write
UShort
Le()
kotlinx.
io.
files
File
Metadata
File
Not
Found
Exception
File
System
Path
Path()
sink()
source()
System
File
System
System
Path
Separator
System
Temporary
Directory
kotlinx-io-okio
kotlinx.
io.
okio
as
Kotlinx
Io
Raw
Sink()
as
Kotlinx
Io
Raw
Source()
as
Okio
Sink()
as
Okio
Source()
to
Kotlinx
Io
Byte
String()
to
Okio
Byte
String()
kotlinx-io-bytestring
/
kotlinx.io.bytestring
/
indices
indices
val
ByteString
.
indices
:
IntRange
(
source
)
Returns the range of valid byte indices for this byte string.