Skip to main content
Module

x/aleph/std.ts>bytes.repeat

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function bytes.repeat
import { bytes } from "https://deno.land/x/aleph@v0.2.28/std.ts";
const { repeat } = bytes;

Repeat bytes. returns a new byte slice consisting of count copies of b.

Parameters

origin: Uint8Array

The origin bytes

count: number

The count you want to repeat.

Returns

Uint8Array