Base64.EncoderStream
import { Base64 } from "https://raw.githubusercontent.com/i-xi-dev/base64.es/4.1.13/mod.ts";
const { EncoderStream } = Base64;
The TransformStream
that encodes a stream of Uint8Array
into Base64-encoded string stream.
@example
const encoderStream = new Base64.EncoderStream();
// readableStream: ReadableStream<Uint8Array>
// writableStream: WritableStream<string>
readableStream.pipeThrough(encoderStream).pipeTo(writableStream);
class EncoderStream {}
constructor(options?: Base64.Options);
§Constructors
§
new EncoderStream(options?: Base64.Options)
[src]@param options
The Base64.Options
dictionary.