happy-codec
    Preparing search index...

    Interface EncodeBase64Options

    Options for encodeBase64. Mirrors the options accepted by the native Uint8Array.prototype.toBase64.

    1.1.0

    interface EncodeBase64Options {
        alphabet?: "base64" | "base64url";
        omitPadding?: boolean;
    }
    Index

    Properties

    alphabet?: "base64" | "base64url"

    Which base64 alphabet to use.

    • 'base64' (default): standard alphabet (+, /).
    • 'base64url': URL-safe alphabet (-, _).
    'base64'
    
    omitPadding?: boolean

    If true, omit trailing = padding characters.

    false