SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-io-core
/
sk.ainet.io
/
ByteArrayMemoryChunk
Byte
Array
Memory
Chunk
class
ByteArrayMemoryChunk
(
data
:
ByteArray
,
offset
:
Int
=
0
,
val
size
:
Long
=
data.size.toLong()
)
:
MemoryChunk
(
source
)
Members
Constructors
Byte
Array
Memory
Chunk
Link copied to clipboard
constructor
(
data
:
ByteArray
,
offset
:
Int
=
0
,
size
:
Long
=
data.size.toLong()
)
Properties
size
Link copied to clipboard
open
override
val
size
:
Long
Functions
read
Byte
Link copied to clipboard
open
override
fun
readByte
(
offset
:
Long
)
:
Byte
read
Bytes
Link copied to clipboard
open
override
fun
readBytes
(
offset
:
Long
,
length
:
Int
)
:
ByteArray
slice
Link copied to clipboard
open
override
fun
slice
(
offset
:
Long
,
length
:
Long
)
:
MemoryChunk