Interface BlockDecoder<Code, T>

IPLD decoder part of the codec.

interface BlockDecoder<Code, T> {
    code: Code;
    decode(bytes): T;
}

Type Parameters

  • Code extends number
  • T

Hierarchy (view full)

Properties

Methods

Properties

code: Code

Methods