Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FromBuffer

Hierarchy

  • FromBuffer

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new FromBuffer(buf: Buffer, key: string): FromBuffer

Properties

Private buffer

buffer: Buffer

Private direction

direction: Direction

Private ioId

ioId: number

Private key

key: string

Accessors

ioID

  • get ioID(): number

Methods

setIOID

  • setIOID(id: number, direction: Direction): void

toIOBuffer

  • toIOBuffer(): Promise<ArrayBuffer | SharedArrayBuffer>
  • Returns Promise<ArrayBuffer | SharedArrayBuffer>

toIOID

  • toIOID(): Object

toOutput

  • toOutput(buffer: ArrayBuffer, collector: Object): Promise<any>
  • Parameters

    • buffer: ArrayBuffer
    • collector: Object

    Returns Promise<any>

Generated using TypeDoc