Function createChunkedReader
- createChunkedReader(stream, chunkSize): {
ended: (() => boolean);
read: (() => Promise<Uint8Array | null>);
} Parameters
- stream: ReadableStream<Uint8Array>
- chunkSize: number
Returns {
ended: (() => boolean);
read: (() => Promise<Uint8Array | null>);
}
ended: (() => boolean)
- (): boolean
Returns boolean
read: (() => Promise<Uint8Array | null>)
- (): Promise<Uint8Array | null>
Returns Promise<Uint8Array | null>