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