BytesStream.Source
import type { BytesStream } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.4.2/deps.ts";
const { Source } = BytesStream;
The ReadableStream
of Uint8Array
or the async iterator of Uint8Array
.
type Source = AsyncIterable<Uint8Array> | ReadableStream<Uint8Array> | Iterable<Uint8Array>;