JSPrismarine
Preparing search index...
@jsprismarine/nbt
NBTReader
Class NBTReader
Hierarchy (
View Summary
)
NBTStreamReader
NBTReader
Index
Constructors
constructor
Properties
byte
Order
input
Methods
alter
Allocation
Limit
expect
Input
is
Using
Varint
parse
parse
List
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
constructor
new
NBTReader
(
input
:
NetworkBinaryStream
,
byteOrder
:
ByteOrder
)
:
NBTReader
Parameters
input
:
NetworkBinaryStream
byteOrder
:
ByteOrder
Returns
NBTReader
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
parse
parse
()
:
NBTTagCompound
Returns
NBTTagCompound
parse
List
parseList
<
TagType
>
()
:
Set
<
TagType
>
Type Parameters
TagType
Returns
Set
<
TagType
>
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
parse
parse
List
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...