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

x/denjucks/src/deps/path/std/io/ioutil.ts>copyN

Deno templating engine
Latest
function copyN
import { copyN } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/io/ioutil.ts";

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

Parameters

r: Reader
dest: Writer
size: number

Returns

Promise<number>