function readAllSyncimport { readAllSync } from "https://dotland.deno.dev/std@0.215.0/io/mod.ts"; readAllSync(reader: ReaderSync): Uint8ArraySynchronously reads ReaderSync r until EOF (null) and returns the content as {@link Uint8Array}. ExamplesExample 1 import { readAllSync } from "https://deno.land/std@0.215.0/io/read_all.ts"; // Example from stdin const stdinContent = readAllSync(Deno.stdin); // Example from file using file = Deno.openSync("my_file.txt", {read: true}); const myFileContent = readAllSync(file); Parametersreader: ReaderSyncReturnsUint8Array