rework header encode/decode

This commit is contained in:
2025-03-15 08:24:03 -05:00
parent ea2358a315
commit 0ff78d03a4
6 changed files with 75 additions and 78 deletions
+5 -6
View File
@@ -9,14 +9,13 @@ const goodTests = [
]),
expected: {
intHeader: 0x4154,
fltHeader: 0x4334,
floatHeader: 0x4334,
version: 2,
pID: 305419896,
pForm: 0,
pktSize: 18,
packetID: 305419896,
packetFormat: 0,
size: 18,
context: 305419896,
numMods: 0,
data: new Uint8Array(),
subModuleCount: 0,
},
decoder: Decoders.RTTrPHeader,
},