Docs
GitHub
Preparing search index...
The search index is not available
Fuels TS SDK API Documentation
Fuels TS SDK API Documentation
@fuel-ts/abi-coder
ArrayCoder
Class ArrayCoder<TCoder>
Type Parameters
TCoder
extends
Coder
Hierarchy (
view full
)
Coder
<
InputValueOf
<
TCoder
>
,
DecodedValueOf
<
TCoder
>
>
ArrayCoder
Index
Constructors
constructor
Properties
coder
encoded
Length
length
name
type
Methods
decode
encode
Constructors
constructor
new
Array
Coder
<
TCoder
>
(
coder
,
length
)
:
ArrayCoder
<
TCoder
>
Type Parameters
TCoder
extends
Coder
<
unknown
,
unknown
>
Parameters
coder
:
TCoder
length
:
number
Returns
ArrayCoder
<
TCoder
>
Properties
coder
coder
:
TCoder
Readonly
encoded
Length
encoded
Length
:
number
length
length
:
number
Readonly
name
name
:
string
Readonly
type
type
:
string
Methods
decode
decode
(
data
,
offset
)
:
[
DecodedValueOf
<
TCoder
>
,
number
]
Parameters
data
:
Uint8Array
offset
:
number
Returns
[
DecodedValueOf
<
TCoder
>
,
number
]
encode
encode
(
value
)
:
Uint8Array
Parameters
value
:
InputValueOf
<
TCoder
>
Returns
Uint8Array
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
coder
encoded
Length
length
name
type
Methods
decode
encode
Docs
GitHub
Fuels TS SDK API Documentation
Loading...