Preparing search index...
The search index is not available
multiformats - v13.3.1
multiformats
codecs/interface
BlockEncoder
Interface BlockEncoder<Code, T>
IPLD encoder part of the codec.
interface
BlockEncoder
<
Code
,
T
>
{
code
:
Code
;
name
:
string
;
encode
(
data
)
:
ByteView
<
T
>
;
}
Type Parameters
Code
extends
number
T
Hierarchy (
view full
)
BlockEncoder
BlockCodec
Index
Properties
code
name
Methods
encode
Properties
code
code
:
Code
name
name
:
string
Methods
encode
encode
(
data
)
:
ByteView
<
T
>
Parameters
data
:
T
Returns
ByteView
<
T
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
code
name
encode
multiformats - v13.3.1
Loading...
IPLD encoder part of the codec.