Options
All
  • Public
  • Public/Protected
  • All
Menu

ipld-format-to-blockcodec - v0.0.1

Index

Type aliases

Functions

Type aliases

BlockCodec

BlockCodec<Code, T>: BlockCodec

<Code, T>

Type parameters

  • Code

  • T

IPLDFormat

IPLDFormat<T>: Format

Type parameters

  • T

Functions

convert

  • convert<Code, T>(format: Format<T>): BlockCodec<Code, T>
  • Converts an IPLD Format into a BlockCodec from the multiformats module

    Type parameters

    • Code

    • T

    Parameters

    • format: Format<T>

    Returns BlockCodec<Code, T>