mirror of
https://github.com/jwetzell/rttrp-js.git
synced 2026-08-20 14:29:04 +00:00
rework header encode/decode
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user