Encode a part as its CBOR array. seqNum, seqLen and messageLen are written as u32s, truncated as the reference's as u32 truncates them.
seqNum
seqLen
messageLen
u32
as u32
InvalidParameter unless the counters are integers ≥ 0, checksum a u32 and data a Uint8Array.
InvalidParameter
checksum
data
Uint8Array
Encode a part as its CBOR array.
seqNum,seqLenandmessageLenare written asu32s, truncated as the reference'sas u32truncates them.