Constructors
Methods
Static
duplicateDataStream
- duplicateDataStream(dataStream, count): Readable[]
Parameters
- dataStream: Readable
- count: number
Returns Readable[]
Static
fromBytes
- fromBytes(bytes): Readable
Returns Readable
Static
fromObject
- fromObject(object): Readable
Parameters
- object: Record<string, any>
Returns Readable
Static
toBytes
- toBytes(readableStream): Promise<Uint8Array>
Returns Promise<Uint8Array>
Static
toObject
- toObject(readableStream): Promise<object>
Returns Promise<object>
Utility class for readable data stream, intentionally named to disambiguate from ReadableStream, readable-stream, Readable etc.