Function toMultibase

  • Encodes an multibase ID string

    Parameters

    • id: Uint8Array
    • format: "base64" | "base64pad" | "base64url" | "base64urlpad" | "base58btc" | "base58flickr" | "base36" | "base36upper" | "base32" | "base32upper" | "base32pad" | "base32padupper" | "base32hex" | "base32hexupper" | "base32hexpad" | "base32hexpadupper" | "base32z" | "base16" | "base16upper" | "base10" | "base8" | "base2" | "identity"

    Returns string

Generated using TypeDoc