Commit f22cff43 authored by antirez's avatar antirez
Browse files

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

parent 5a86ab47
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment