ui to test channels

This commit is contained in:
liamcottle 2025-03-11 20:23:25 +13:00
parent 209992d307
commit 78e990aeac
2 changed files with 26 additions and 0 deletions

View file

@ -6,6 +6,12 @@ class BufferUtils {
}).join('');
}
static base64ToBytes(base64) {
return Uint8Array.from(atob(base64), (c) => {
return c.charCodeAt(0);
});
}
static areBuffersEqual(byteArray1, byteArray2) {
// ensure length is the same