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