import { streamDecode } from "https://deno.land/x/simple_utility@v2.3.1/src/pure/stream.ts";
Convert from stream to binary.
Examples
Example 1
Example 1
const stream = streamEncode(new Uint8Array([0x00, 0x01, 0x02]));
const data = await streamDecode(stream);
Parameters
rs: ReadableStream<Uint8Array>