Skip to main content
Module

std/bytes/mod.ts>findLastIndex

Deno standard library
Go to Latest
function findLastIndex
import { findLastIndex } from "https://deno.land/std@0.34.0/bytes/mod.ts";

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

Parameters

a: Uint8Array
pat: Uint8Array

Returns

number