From c6a4c2091623b6da621c156871db8d5e3e6fe5ee Mon Sep 17 00:00:00 2001 From: Dieter Reinert Date: Sat, 11 Jan 2025 21:37:09 +0100 Subject: [PATCH] typo --- lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.ts b/lib/utils.ts index c09b125b3b9e..5c0c4611a6ff 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -485,7 +485,7 @@ export function bufWriteHex(buf: Uint8Array, hex: string, offset = 0): void { } } -export function bufReadHex(buf: Uint8Array, start = 0, end?: Number): string { +export function bufReadHex(buf: Uint8Array, start = 0, end?: number): string { if (end === undefined) end = buf.length; let out = ''; for (let i = start; i < end; i++) {