ziplist.c: added comments about the new 24 bit encoding.

This commit is contained in:
antirez 2012-04-24 12:51:59 +02:00
parent 5a86ab4799
commit f22cff43a6

View File

@ -58,6 +58,10 @@
* Integer encoded as int32_t (4 bytes).
* |1110____| - 1 byte
* Integer encoded as int64_t (8 bytes).
* |1111____| - 1 byte
* Integer encoded as 24 bit signed (3 bytes).
*
* All the integers are represented in little endian byte order.
*/
#include <stdio.h>