Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BuffersStream

Package version

This class generates a readable stream from the data in an array of buffers.

export

Hierarchy

  • any
    • BuffersStream

Index

Constructors

Methods

Constructors

constructor

  • Creates an instance of BuffersStream that will emit the data contained in the array of buffers.

    memberof

    BuffersStream

    Parameters

    • buffers: Buffer[]

      Array of buffers containing the data

    • byteLength: number

      The total length of data contained in the buffers

    • Optional options: BuffersStreamOptions

    Returns BuffersStream

Methods

_read

  • _read(size?: undefined | number): void
  • Internal _read() that will be called when the stream wants to pull more data in.

    memberof

    BuffersStream

    Parameters

    • Optional size: undefined | number

      Optional. The size of data to be read

    Returns void

Generated using TypeDoc