Deprecated
Use
readAllSync
from
std/streams/conversion.ts
instead. Deno.readAllSync
will be removed in the future.
import { Deno } from "https://deno.land/x/deno@v1.28.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
.