Deprecated
Use
readAllSync
from
std/streams/read_all.ts
instead. Deno.readAllSync
will be removed in the future.
import { Deno } from "https://deno.land/x/deno@v1.32.3/cli/tsc/dts/lib.deno.ns.d.ts";
const { readAllSync } = Deno;
Synchronously reads Reader r
until EOF (null
) and returns the content
as Uint8Array
.