This release is versions behind 1.0.6 — the latest version of @std/bytes.
Works with
•JSR Score100%•This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




Downloads63,239/wk
•Published2 years ago (0.215.0)
Utilities to manipulate Uint8Arrays that are not built-in to JavaScript
Functions
f
indexOfNeedle(): number
source: Uint8Array,
needle: Uint8Array,
start?
Returns the index of the first occurrence of the needle array in the source array, or -1 if it is not present.