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

x/enviromodder/setup/deps.ts>io.copyN

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

Copy N size at the most. If read size is lesser than N, then returns nread

Parameters

r: Reader

Reader

dest: Writer

Writer

size: number

Read size

Returns

Promise<number>