1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

MSB -> LSB

This commit is contained in:
Jeff Becker 2018-05-24 10:39:32 -04:00
parent f10b854fae
commit ec4e7674b7
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -186,9 +186,9 @@ msg_bytes = BE(msg)
16 bits reserved for future
8 bits unsigned int nonzero number of fragments, n
8 bits reserved flags, f
if f MSB is set then last fragment is included and is l bytes long
if f LSB is set then last fragment is included and is l bytes long
f's MSB MUST be set as of protocol version 0.
f's LSB MUST be set as of protocol version 0.
msg_bytes is S * (n - 1) + L bytes long