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

x/s3si/deps.ts>io.copyN

Export your battles from SplatNet to stat.ink
Go to Latest
function io.copyN
import { io } from "https://deno.land/x/s3si@v0.1.8/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>