Sha256: bc6a78961535181265845bf9b9e8a147ffd0ca275097ceb670a9b92afa825152

Contents?: true

Size: 708 Bytes

Versions: 5

Compression:

Stored size: 708 Bytes

Contents

declare module "buffer" {
    export const INSPECT_MAX_BYTES: number;
    export const kMaxLength: number;
    export const kStringMaxLength: number;
    export const constants: {
        MAX_LENGTH: number;
        MAX_STRING_LENGTH: number;
    };
    const BuffType: typeof Buffer;

    export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary";

    export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer;

    export const SlowBuffer: {
        /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */
        new(size: number): Buffer;
        prototype: Buffer;
    };

    export { BuffType as Buffer };
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@types/node/ts3.1/buffer.d.ts
tang-0.2.1 spec/tang_app/node_modules/@types/node/buffer.d.ts
tang-0.2.0 spec/tang_app/node_modules/@types/node/buffer.d.ts
tang-0.1.0 spec/tang_app/node_modules/@types/node/buffer.d.ts
tang-0.0.9 spec/tang_app/node_modules/@types/node/buffer.d.ts