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

x/dejs/vendor/https/deno.land/std/io/util.ts>copyBytes

ejs template engine for deno.
Extremely Popular
Go to Latest
function copyBytes
import { copyBytes } from "https://deno.land/x/dejs@0.4.0/vendor/https/deno.land/std/io/util.ts";

Copy bytes from one Uint8Array to another. Bytes from src which don't fit into dst will not be copied.

Parameters

dst: Uint8Array

Destination byte array

src: Uint8Array

Source byte array

optional
off = [UNSUPPORTED]

Offset into dst at which to begin writing values from src.

Returns

number

number of bytes copied