Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Base64

import { Base64 } from "https://raw.githubusercontent.com/i-xi-dev/base64.es/4.1.13/mod.ts";

Provides Base64 decoding and Base64 encoding methods.

§Namespace

Base64.Options

§Classes

Base64.Decoder

Base64 decoder

Base64.DecoderStream

The TransformStream that decodes a stream of Base64-encoded string into Uint8Array stream.

Base64.Encoder

Base64 encoder

Base64.EncoderStream

The TransformStream that encodes a stream of Uint8Array into Base64-encoded string stream.

§Variables

Base64.Options.RFC4648

The options for RFC 4648 Base64.

Base64.Options.RFC4648URL

The options for RFC 4648 Base64url.

§Functions

Base64.decode

Decodes a Base64-encoded string into an Uint8Array.

Base64.encode

Encodes the specified byte sequence into a string.

§Type Aliases

Base64.Options

The object with the following optional fields. The defaults are the values that conforms to the RFC 4648 Base64 specification.