Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/redis/vendor/https/deno.land/std/io/util.ts>copyN

🦕 Redis client for Deno 🍕
Very Popular
Go to Latest
function copyN
import { copyN } from "https://deno.land/x/redis@v0.26.0/vendor/https/deno.land/std/io/util.ts";

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

Parameters

Reader

dest: Writer

Writer

size: number

Read size

Returns

Promise<number>