toggle menu
bcs
0.1.3
common
switch theme
search in API
bcs
/
xyz.mcxross.bcs.stream
/
BcsDataInputBuffer
Bcs
Data
Input
Buffer
class
BcsDataInputBuffer
(
byteArray
:
ByteArray
)
:
BcsDataBuffer
Members
Constructors
Bcs
Data
Input
Buffer
Link copied to clipboard
constructor
(
byteArray
:
ByteArray
)
Functions
next
Byte
Or
Null
Link copied to clipboard
fun
nextByteOrNull
(
)
:
Byte
?
peek
Link copied to clipboard
fun
peek
(
)
:
Byte
peek
Safely
Link copied to clipboard
fun
peekSafely
(
)
:
Byte
?
read
Boolean
Link copied to clipboard
fun
readBoolean
(
)
:
Boolean
read
Byte
Link copied to clipboard
fun
readByte
(
)
:
Byte
read
Int
Link copied to clipboard
fun
readInt
(
)
:
Int
read
Long
Link copied to clipboard
fun
readLong
(
)
:
Long
read
Short
Link copied to clipboard
fun
readShort
(
)
:
Short
read
ULEB128
Link copied to clipboard
fun
readULEB128
(
)
:
Int
read
UTF
Link copied to clipboard
fun
readUTF
(
)
:
String
require
Next
Byte
Link copied to clipboard
fun
requireNextByte
(
)
:
Byte
skip
Link copied to clipboard
fun
skip
(
bytes
:
Int
)
take
Next
Link copied to clipboard
fun
takeNext
(
next
:
Int
)
:
ByteArray
to
Byte
Array
Link copied to clipboard
open
override
fun
toByteArray
(
)
:
ByteArray