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
NumberCoder
Class NumberCoder
Hierarchy (
view full
)
Coder
<
number
,
number
>
NumberCoder
Index
Constructors
constructor
Properties
base
Type
encoded
Length
name
options
type
Methods
decode
encode
Constructors
constructor
new
Number
Coder
(
baseType
,
options
?
)
:
NumberCoder
Parameters
baseType
:
NumberCoderType
options
:
EncodingOptions
= ...
Returns
NumberCoder
Properties
base
Type
base
Type
:
NumberCoderType
Readonly
encoded
Length
encoded
Length
:
number
Readonly
name
name
:
string
options
options
:
EncodingOptions
Readonly
type
type
:
string
Methods
decode
decode
(
data
,
offset
)
:
[
number
,
number
]
Parameters
data
:
Uint8Array
offset
:
number
Returns
[
number
,
number
]
encode
encode
(
value
)
:
Uint8Array
Parameters
value
:
string
|
number
Returns
Uint8Array
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Type
encoded
Length
name
options
type
Methods
decode
encode
Docs
GitHub
Fuels TS SDK API Documentation
Loading...