Ms932.EncoderStream
import { Ms932 } from "https://raw.githubusercontent.com/i-xi-dev/ms932-encoder.es/2.1.9/mod.ts";
const { EncoderStream } = Ms932;
The TransformStream
that encodes a stream of string into Windows-31J encoded byte stream.
@example
const encoderStream = new Ms932.EncoderStream();
// readableStream: ReadableStream<string>
// writableStream: WritableStream<Uint8Array>
readableStream.pipeThrough(encoderStream).pipeTo(writableStream);
class EncoderStream {}
constructor(options?: EncoderOptions);
get [Symbol.toStringTag](): string;