Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/gauntlet/imports/buffer.ts>Buffer.compare

Work-in-progress front-end tool which does put a smile on my face
Latest
method Buffer.compare
import { Buffer } from "https://deno.land/x/gauntlet@v0.0.9/imports/buffer.ts";

The same as buf1.compare(buf2).

Parameters

buf1: Uint8Array
buf2: Uint8Array

Returns

number