GitHubAppDocsPlayground
  • Preparing search index...
  • The search index is not available
CCC Docs
  • CCC Docs
  • @ckb-ccc core
  • index
  • ccc
  • mol
  • array

Function array

  • array<Encodable, Decoded>(itemCodec, itemCount): Codec<Encodable[], Decoded[]>
  • The array is a fixed-size type: it has a fixed-size inner type and a fixed length. The size of an array is the size of inner type times the length.

    Type Parameters

    • Encodable
    • Decoded

    Parameters

    • itemCodec: CodecLike<Encodable, Decoded>

      the fixed-size array item codec

    • itemCount: number

    Returns Codec<Encodable[], Decoded[]>

    • Defined in molecule/codec.ts:595

Settings

Member Visibility
GitHubAppDocsPlayground
CCC Docs
  • Loading...

Generated using TypeDoc