Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
ArrayReader
Class ArrayReader
Hierarchy
Reader
ArrayReader
Index
Constructors
constructor
Properties
base
Offset
is
Reader
offset
size
type
Methods
array
get
obj
set
set
Data
union
create
Constructors
constructor
new
Array
Reader
(
schema
:
ArraySchema
, offset
:
number
)
:
ArrayReader
Parameters
schema:
ArraySchema
offset:
number
Returns
ArrayReader
Properties
base
Offset
base
Offset
:
number
= 0
is
Reader
is
Reader
:
boolean
= true
offset
offset
:
number
= 0
size
size
:
number
= 0
type
type
:
number
= 1
Methods
array
array
(
i
:
number
)
:
ArrayReader
Parameters
i:
number
Returns
ArrayReader
get
get
(
i
:
number
)
:
number
Parameters
i:
number
Returns
number
obj
obj
(
i
:
number
)
:
ObjReader
Parameters
i:
number
Returns
ObjReader
set
set
(
i
:
number
, v
:
number
)
:
void
Parameters
i:
number
v:
number
Returns
void
set
Data
set
Data
(
data
:
ArrayBuffer
, reader
:
DataView
)
:
void
override
Parameters
data:
ArrayBuffer
reader:
DataView
Returns
void
union
union
(
i
:
number
)
:
UnionReader
Parameters
i:
number
Returns
UnionReader
Static
create
create
(
schema
:
Base
, offset
?:
number
)
:
Reader
Parameters
schema:
Base
offset:
number
= 0
Returns
Reader
Exports
Array
Reader
constructor
base
Offset
is
Reader
offset
size
type
array
get
obj
set
set
Data
union
create
Generated using
TypeDoc