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

x/bencodex/src/utils.ts>areUint8ArraysEqual

An alternative take on implementing Bencodex in TypeScript/JavaScript
Latest
function areUint8ArraysEqual
import { areUint8ArraysEqual } from "https://deno.land/x/bencodex@0.2.2/src/utils.ts";

Checks if the given two Uint8Arrays are equal.

Parameters

a: Uint8Array

An Uint8Array.

b: Uint8Array

Another Uint8Array.