UNPKG

basic-ftp-ct

Version:

FTP client for Node.js, supports explicit FTPS over TLS, IPv6, Async/Await, and Typescript.

10 lines (9 loc) 341 B
/// <reference types="node" /> import { Writable } from "stream"; export declare class StringWriter extends Writable { protected buf: Buffer; _write(chunk: Buffer | string | any, _: string, callback: (error: Error | null) => void): void; getText(encoding: string): string; getTextAscii(): string; getTextHex(): string; }