]> git.saurik.com Git - redis.git/commitdiff
ziplist.c: added comments about the new 24 bit encoding.
authorantirez <antirez@gmail.com>
Tue, 24 Apr 2012 10:51:59 +0000 (12:51 +0200)
committerantirez <antirez@gmail.com>
Tue, 24 Apr 2012 17:35:22 +0000 (19:35 +0200)
src/ziplist.c

index a2c0edb3a1cf74c088c6f7e2b8e46959e7695d45..81eec18a3782a8f18ea2f379978ec52c75f4ce7f 100644 (file)
  *      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>