Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/archive/_common.ts>readBlock

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readBlock
import { readBlock } from "https://deno.land/std@0.168.0/archive/_common.ts";

Parameters

reader: Deno.Reader
p: Uint8Array

Returns

Promise<number | null>