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

std/bytes/mod.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@v0.56.0/bytes/mod.ts";

Functions

Concatenate two binary arrays and return new one.

Check srouce array contains pattern array.

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 starts with prefix.

Check whether binary array ends with suffix.

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