Skip to main content
Module

std/bytes/equals.ts>equalsSimd

Deno standard library
Go to Latest
function equalsSimd
import { equalsSimd } from "https://deno.land/std@0.113.0/bytes/equals.ts";

Check whether binary arrays are equal to each other using 32-bit comparisons.

Parameters

a: Uint8Array

first array to check equality

b: Uint8Array

second array to check equality

Returns

boolean