Preparing search index...
The search index is not available
txiki.js
txiki.js
tjs:ffi
StructType
Class StructType<Obj, FT>
Type Parameters
Obj
FT
extends
{
[
K
in
keyof
Obj
]
:
[
K
,
SimpleType
<
Obj
[
K
]
>
]
}
[
keyof
Obj
]
[]
Hierarchy
AdvancedType
<
Obj
,
StructType
<
Obj
,
FT
>
>
StructType
Index
Constructors
constructor
Properties
ffi
Type
ffi
Type
Struct
fields
name
size
Methods
from
Buffer
to
Buffer
Constructors
constructor
new
Struct
Type
<
Obj
,
FT
>
(
fields
:
FT
, name
:
string
)
:
StructType
<
Obj
,
FT
>
Type Parameters
Obj
FT
extends
{
[
K
in
string
|
number
|
symbol
]
:
[
K
,
SimpleType
<
Obj
[
K
]
>
]
}
[
keyof
Obj
]
[]
Parameters
fields:
FT
name:
string
Returns
StructType
<
Obj
,
FT
>
Properties
Readonly
ffi
Type
ffi
Type
:
StructType
<
Obj
,
FT
>
Readonly
ffi
Type
Struct
ffi
Type
Struct
:
SimpleType
<
Obj
>
Readonly
fields
fields
:
FT
Readonly
name
name
:
string
Readonly
size
size
:
number
Methods
from
Buffer
from
Buffer
(
buffer
:
Uint8Array
, ctx
?:
{}
)
:
Obj
Parameters
buffer:
Uint8Array
Optional
ctx:
{}
Returns
Obj
to
Buffer
to
Buffer
(
data
:
Obj
, ctx
?:
{}
)
:
Uint8Array
Parameters
data:
Obj
Optional
ctx:
{}
Returns
Uint8Array
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
txiki.js
global
tjs
tjs:assert
tjs:ffi
tjs:getopts
tjs:hashing
tjs:ipaddr
tjs:path
tjs:uuid
Struct
Type
constructor
ffi
Type
ffi
Type
Struct
fields
name
size
from
Buffer
to
Buffer
Generated using
TypeDoc