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

x/easyts/slice.ts>Slice#copy

js library written with ts, use select and chan like golang in js.
Latest
method Slice.prototype.copy
import { Slice } from "https://deno.land/x/easyts@0.1.2/slice.ts";

Copy data from src to current slice

Parameters

src: Iterable<T>

Returns

number

How much data was copied