add data crc

This commit is contained in:
Lewis Moten
2024-05-12 17:36:54 -04:00
parent 56e951e3e1
commit 5bc9157659
7 changed files with 342 additions and 153 deletions

3
CRC.js
View File

@@ -1,3 +1,6 @@
// CRC codes are not signed
export const INVALID = -1;
function calcCrc(
bytes,
size,