We have an extra field in compressed messages

This commit is contained in:
Jakob Borg 2014-09-11 18:41:58 +02:00
parent a2315dc95e
commit f35d83ae48

View File

@ -99,7 +99,10 @@ The Compression bit "C" indicates the compression used for the message.
For C=1: For C=1:
* The Length field contains the length, in bytes, of the * The Length field contains the length, in bytes, of the
compressed message data. compressed message data plus a four byte uncompressed length field.
* The compressed message data is preceeded by a 32 bit field denoting
the length of the uncompressed message.
* The message data is compressed using the LZ4 format and algorithm * The message data is compressed using the LZ4 format and algorithm
described in https://code.google.com/p/lz4/. described in https://code.google.com/p/lz4/.