Search
Preparing search index...
The search index is not available
ntdf-modding-toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
ntdf-modding-toolkit
Chunk
Class Chunk
Hierarchy
Chunk
Index
Constructors
constructor
Properties
contents
id
offset
padding_
bytes
type
Methods
copy
get_
alignment
to_
blob
from_
blob
Constructors
constructor
new
Chunk
(
contents
:
Blob
, type
:
number
, id
?:
number
, padding_bytes
?:
number
)
:
Chunk
Parameters
contents:
Blob
type:
number
id:
number
= 0
padding_bytes:
number
= 0
Returns
Chunk
Properties
contents
contents
:
Blob
id
id
:
number
= 0
offset
offset
:
number
= 0
padding_
bytes
padding_
bytes
:
number
= 0
type
type
:
number
Methods
copy
copy
(
)
:
Chunk
Returns
Chunk
get_
alignment
get_
alignment
(
)
:
number
Returns
number
to_
blob
to_
blob
(
offset
?:
number
)
:
Blob
Parameters
offset:
number
= 0
Returns
Blob
Static
from_
blob
from_
blob
(
blob
:
Blob
)
:
Promise
<
Chunk
>
Parameters
blob:
Blob
Returns
Promise
<
Chunk
>
Exports
Table
Formats
Chunk
constructor
contents
id
offset
padding_
bytes
type
copy
get_
alignment
to_
blob
from_
blob
Generated using
TypeDoc