parse extra packet types

This commit is contained in:
liamcottle 2025-03-10 14:05:05 +13:00
parent 1d88787c92
commit 26888c8fcf
4 changed files with 81 additions and 6 deletions

View file

@ -1,5 +1,11 @@
class BufferUtils {
static bytesToHex(uint8Array) {
return Array.from(uint8Array).map(byte => {
return byte.toString(16).padStart(2, '0');
}).join('');
}
static areBuffersEqual(byteArray1, byteArray2) {
// ensure length is the same