import { getNBytes } from "https://deno.land/std@0.145.0/encoding/binary.ts";
Reads exactly n
bytes from r
.
Resolves it in a Uint8Array
, or throws Deno.errors.UnexpectedEof
if n
bytes cannot be read.
import { getNBytes } from "https://deno.land/std@0.145.0/encoding/binary.ts";
Reads exactly n
bytes from r
.
Resolves it in a Uint8Array
, or throws Deno.errors.UnexpectedEof
if n
bytes cannot be read.