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