Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f22cff43
Commit
f22cff43
authored
Apr 24, 2012
by
antirez
Browse files
ziplist.c: added comments about the new 24 bit encoding.
parent
5a86ab47
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ziplist.c
View file @
f22cff43
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment