Class Block<T, C, A, V>

Type Parameters

  • T

    Logical type of the data encoded in the block

  • C extends number

    multicodec code corresponding to codec used to encode the block

  • A extends number

    multicodec code corresponding to the hashing algorithm used in CID creation.

  • V extends Version

    CID version

Implements

Constructors

Properties

Methods

Constructors

Properties

asBlock: Block<T, C, A, V>
bytes: ByteView<T>
cid: CID<T, C, A, V>
value: T

Methods