pw-buffer
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

node-pw-buffer

PW Buffer

import { ExtendedBuffer, ExtendedBufferOptions } from 'extended-buffer';
export interface PwBufferOptions extends ExtendedBufferOptions {
}
export declare class PwBuffer extends ExtendedBuffer {
    isReadableCUInt(): boolean;
    readCUInt(noAssert?: boolean): number;
    _writeCUIntToBuffer(buffer: this, value: number, noAssert?: boolean): this;
    writeCUInt(value: number, unshift?: boolean, noAssert?: boolean): this;
    readPwString(noAssert?: boolean): string;
    writePwString(string: string, unshift?: boolean, noAssert?: boolean): this;
    readPwOctets(noAssert?: boolean): this;
    writePwOctets(octets: this | Buffer, unshift?: boolean, noAssert?: boolean): this;
}

Readme

Keywords

none

Package Sidebar

Install

npm i pw-buffer

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

6.88 kB

Total Files

7

Last publish

Collaborators

  • inviz-custos