Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BufferBufferingStream

Hierarchy

Index

Constructors

Properties

buffer?: Buffer
concat: ((left: Buffer, right: Buffer) => Buffer)

Type declaration

    • (left: Buffer, right: Buffer): Buffer
    • Parameters

      • left: Buffer
      • right: Buffer

      Returns Buffer

emitInterval: number
length: ((what: Buffer) => number)

Type declaration

    • (what: Buffer): number
    • Parameters

      • what: Buffer

      Returns number

maxChunkSize: number
onDataEmitter: Emitter<Buffer> = ...
slice: ((what: Buffer, start?: number, end?: number) => Buffer)

Type declaration

    • (what: Buffer, start?: number, end?: number): Buffer
    • Parameters

      • what: Buffer
      • Optional start: number
      • Optional end: number

      Returns Buffer

timeout?: Timeout

Accessors

  • get onData(): Event<T>

Methods

  • dispose(): void
  • emitBufferedChunk(): void
  • push(chunk: Buffer): void