Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct { Base mbase.Encoder // The multibase to use Upgrade bool // If true upgrade CIDv0 to CIDv1 when encoding }
Encoder is a basic Encoder that will encode CIDs using a specified base and optionally upgrade a CIDv0 to CIDv1
Click to show internal directories.
Click to hide internal directories.