iya-sts
    Preparing search index...
    multibaseDecode: (value: unknown, expected: "z" | "u") => Buffer = ...

    Type Declaration

      • (value: unknown, expected: "z" | "u"): Buffer
      • Decodes a multibase value, refused unless it is in the base the caller expects.

        Parameters

        • value: unknown

          the multibase value

        • expected: "z" | "u"

          z (base58-btc) or u (base64url)

        Returns Buffer

        the bytes

        Error for another base or a malformed value