StringWriter.d.ts 377 B

123456789
  1. /// <reference types="node" />
  2. /// <reference types="node" />
  3. import { Writable } from "stream";
  4. import { StringEncoding } from "./StringEncoding";
  5. export declare class StringWriter extends Writable {
  6. protected buf: Buffer;
  7. _write(chunk: Buffer | string | any, _: string, callback: (error: Error | null) => void): void;
  8. getText(encoding: StringEncoding): string;
  9. }