multiformats - v13.3.6
    Preparing search index...

    Interface MultihashDigest<Code>

    Represents a multihash digest which carries information about the hashing algorithm and an actual hash digest.

    interface MultihashDigest<Code extends number = number> {
        bytes: Uint8Array;
        code: Code;
        digest: Uint8Array;
        size: number;
    }

    Type Parameters

    • Code extends number = number

    Implemented by

    Index

    Properties

    Properties

    bytes: Uint8Array

    Binary representation of this multihash digest.

    code: Code

    Code of the multihash

    digest: Uint8Array

    Raw digest (without a hashing algorithm info)

    size: number

    byte length of the this.digest