Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IOUtils

Hierarchy

  • IOUtils

Index

Methods

Static bufferToReadable

  • bufferToReadable(buffer: Buffer): Readable
  • Returns a Readable stream containing the data from the specified Buffer.

    Parameters

    • buffer: Buffer

      The Buffer containing the data to be streamed.

    Returns Readable

Static readableToBuffer

  • readableToBuffer(stream: Readable): Observable<Buffer>
  • Returns a Buffer containing the data from the specified Readable.

    Parameters

    • stream: Readable

      The Readable containing the data to be buffered.

    Returns Observable<Buffer>

Generated using TypeDoc