@bitbeater/ecma-utils - v2.11.0
    Preparing search index...

    Function readStreamToUint8Array

    • A function that takes a ReadableStream<Uint8Array> and returns a promise that resolves to the Uint8Array.

      Parameters

      • stream: ReadableStream<Uint8Array<ArrayBufferLike>>

        The ReadableStream to read from.

      Returns Promise<Uint8Array<ArrayBufferLike>>

      A promise that resolves to the Uint8Array read from the stream.