Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/enviromodder/setup/deps.ts>io.BufReader#read

MapLock is a module for remapper which is definitely not a nootils clone :)
Go to Latest
method io.BufReader.prototype.read
import { io } from "https://deno.land/x/enviromodder@4.0.1/setup/deps.ts";
const { BufReader } = io;

reads data into p. It returns the number of bytes read into p. The bytes are taken from at most one Read on the underlying Reader, hence n may be less than len(p). To read exactly len(p) bytes, use io.ReadFull(b, p).

Parameters

p: Uint8Array

Returns

Promise<number | null>