Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/bytes/mod.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.28.0/std/bytes/mod.ts";

Functions

Check whether binary arrays are equal to each other *

Find first index of binary pattern from a. If not found, then return -1 *

Find last index of binary pattern from a. If not found, then return -1 *

Check whether binary array has binary prefix *

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