Search
Preparing search index...
The search index is not available
Truffle Decoding and Encoding
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
@truffle/codec
AbiData
Encode
Module Encode
Index
Variables
debug
Encoding (low-level) Functions
encode
Abi
encode
Tuple
Abi
pad
And
Prepend
Length
string
ToBytes
Variables
Const
debug
debug
:
IDebugger
= debugModule("codec:abi-data:encode")
Encoding (low-level) Functions
encode
Abi
encode
Abi
(
input
:
Result
, allocations
?:
AbiAllocations
)
:
Uint8Array
|
undefined
Parameters
input:
Result
Optional
allocations:
AbiAllocations
Returns
Uint8Array
|
undefined
encode
Tuple
Abi
encode
Tuple
Abi
(
tuple
:
Result
[]
, allocations
?:
AbiAllocations
)
:
Uint8Array
|
undefined
Parameters
tuple:
Result
[]
Optional
allocations:
AbiAllocations
Returns
Uint8Array
|
undefined
pad
And
Prepend
Length
pad
And
Prepend
Length
(
bytes
:
Uint8Array
)
:
Uint8Array
Parameters
bytes:
Uint8Array
Returns
Uint8Array
Protected
string
ToBytes
string
ToBytes
(
input
:
string
)
:
Uint8Array
Parameters
input:
string
Returns
Uint8Array
Globals
debug
encode
Abi
encode
Tuple
Abi
pad
And
Prepend
Length
string
ToBytes
Generated using
TypeDoc