Documentation
Preparing search index...
@mysten/bcs
SerializedBcs
Class SerializedBcs<T, Input>
Type Parameters
T
Input
=
T
Indexable
[
key
:
number
]:
boolean
Index
Constructors
constructor
Methods
parse
to
Base58
to
Base64
to
Bytes
to
Hex
Constructors
constructor
new
SerializedBcs
<
T
,
Input
=
T
>
(
schema
:
BcsType
<
T
,
Input
>
,
bytes
:
Uint8Array
<
ArrayBuffer
>
,
)
:
SerializedBcs
<
T
,
Input
>
Type Parameters
T
Input
=
T
Parameters
schema
:
BcsType
<
T
,
Input
>
bytes
:
Uint8Array
<
ArrayBuffer
>
Returns
SerializedBcs
<
T
,
Input
>
Methods
parse
parse
()
:
T
Returns
T
to
Base58
toBase58
()
:
string
Returns
string
to
Base64
toBase64
()
:
string
Returns
string
to
Bytes
toBytes
()
:
Uint8Array
<
ArrayBuffer
>
Returns
Uint8Array
<
ArrayBuffer
>
to
Hex
toHex
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
parse
to
Base58
to
Base64
to
Bytes
to
Hex
Documentation
Loading...