@exodus/bytes
    Preparing search index...
    • Decode a base64url string to bytes

      Operates in strict mode for last chunk, does not allow whitespace

      Parameters

      • string: string

        The base64url encoded string

      • Optionaloptions: FromBase64Options

        Decoding options (padding defaults to false)

      Returns Uint8Array

      The decoded bytes

    • Decode a base64url string to bytes

      Operates in strict mode for last chunk, does not allow whitespace

      Parameters

      • string: string

        The base64url encoded string

      • options: FromBase64Options & { format: "buffer" }

        Decoding options (padding defaults to false)

      Returns Buffer

      The decoded bytes