JSPrismarine
Preparing search index...
@jsprismarine/nbt
NBTStreamReader
Class NBTStreamReader
Hierarchy (
View Summary
)
NBTStreamReader
NBTReader
Index
Constructors
constructor
Properties
byte
Order
input
Methods
alter
Allocation
Limit
expect
Input
is
Using
Varint
read
Byte
Array
Value
read
Byte
Value
read
Double
Value
read
Float
Value
read
Int
Array
Value
read
Int
Value
read
Long
Value
read
Short
Value
read
String
Value
set
Allocate
Limit
set
Use
Varint
Constructors
Protected
constructor
new
NBTStreamReader
(
input
:
any
,
byteOrder
:
ByteOrder
)
:
NBTStreamReader
Parameters
input
:
any
byteOrder
:
ByteOrder
Returns
NBTStreamReader
Properties
Protected
byte
Order
byteOrder
:
ByteOrder
Protected
input
input
:
NetworkBinaryStream
Methods
alter
Allocation
Limit
alterAllocationLimit
(
remaining
:
number
)
:
void
Parameters
remaining
:
number
Returns
void
Protected
expect
Input
expectInput
(
remaining
:
number
,
message
:
string
,
alterAllocationLimit
?:
boolean
,
)
:
void
Parameters
remaining
:
number
message
:
string
alterAllocationLimit
:
boolean
= true
Returns
void
is
Using
Varint
isUsingVarint
()
:
boolean
Returns
boolean
Protected
read
Byte
Array
Value
readByteArrayValue
()
:
Buffer
Returns
Buffer
Protected
read
Byte
Value
readByteValue
()
:
ByteVal
Returns
ByteVal
Protected
read
Double
Value
readDoubleValue
()
:
DoubleVal
Returns
DoubleVal
Protected
read
Float
Value
readFloatValue
()
:
FloatVal
Returns
FloatVal
Protected
read
Int
Array
Value
readIntArrayValue
()
:
number
[]
Returns
number
[]
Protected
read
Int
Value
readIntValue
()
:
NumberVal
Returns
NumberVal
Protected
read
Long
Value
readLongValue
()
:
LongVal
Returns
LongVal
Protected
read
Short
Value
readShortValue
()
:
ShortVal
Returns
ShortVal
Protected
read
String
Value
readStringValue
()
:
StringVal
Returns
StringVal
set
Allocate
Limit
setAllocateLimit
(
allocateLimit
:
number
)
:
void
Parameters
allocateLimit
:
number
Returns
void
set
Use
Varint
setUseVarint
(
useVarint
:
boolean
)
:
void
Parameters
useVarint
:
boolean
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
byte
Order
input
Methods
alter
Allocation
Limit
expect
Input
is
Using
Varint
read
Byte
Array
Value
read
Byte
Value
read
Double
Value
read
Float
Value
read
Int
Array
Value
read
Int
Value
read
Long
Value
read
Short
Value
read
String
Value
set
Allocate
Limit
set
Use
Varint
JSPrismarine
Loading...