export interface WriterProperties { bufs?: Buffer[]; } export default class BufferWriter { bufs: Buffer[]; bufLen: number; constructor(obj?: WriterProperties); set(obj: WriterProperties): this; toBuffer(): Buffer; concat(): Buffer; write(buf: Buffer): this; writeReverse(buf: Buffer): this; writeUInt8(n: number): this; writeUInt16BE(n: number): this; writeUInt16LE(n: number): this; writeUInt32BE(n: number): this; writeInt32LE(n: number): this; writeUInt32LE(n: number): this; writeUInt64BE(bn: bigint): this; writeUInt64LE(bn: bigint): this; writeVarintNum(n: number): this; writeVarLengthBuffer(buf: Buffer): this; static varintBufNum(n: number): Buffer; } //# sourceMappingURL=writer.d.ts.map