Constructors
constructor
- new FromBuffer(buf: Buffer, key: string): FromBuffer
Properties
Private buffer
buffer: Buffer
Private ioId
ioId: number
Methods
setIOID
- setIOID(id: number, direction: Direction): void
toIOBuffer
- toIOBuffer(): Promise<ArrayBuffer | SharedArrayBuffer>
-
Returns Promise<ArrayBuffer | SharedArrayBuffer>
toOutput
- toOutput(buffer: ArrayBuffer, collector: Object): Promise<any>
-
Parameters
-
buffer: ArrayBuffer
-
collector: Object
Returns Promise<any>