toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.memory
/
FixedSizeByteArrayBuilder
Fixed
Size
Byte
Array
Builder
class
FixedSizeByteArrayBuilder
(
val
data
:
ByteArray
)
Members
Constructors
Fixed
Size
Byte
Array
Builder
Link copied to clipboard
constructor
(
size
:
Int
)
constructor
(
data
:
ByteArray
)
Properties
capacity
Link copied to clipboard
val
capacity
:
Int
data
Link copied to clipboard
val
data
:
ByteArray
size
Link copied to clipboard
var
size
:
Int
Functions
append
Link copied to clipboard
inline
fun
append
(
v
:
Byte
)
:
FixedSizeByteArrayBuilder
fun
append
(
vararg
v
:
Byte
)
fun
append
(
vararg
v
:
Int
)
fun
append
(
array
:
ByteArray
,
offset
:
Int
=
0
,
len
:
Int
=
array.size - offset
)
append
Fast
Link copied to clipboard
fun
appendFast
(
v
:
Byte
)
clear
Link copied to clipboard
fun
clear
(
)
to
Byte
Array
Link copied to clipboard
fun
toByteArray
(
)
:
ByteArray