Expand description
Flag bits used to tag stored values.
These match the constants used by the Java clients (cn.vika.memcached
NativeHandler and com.schooner.MemCached), so values written by this
crate can be read back by those clients and vice versa.
Constantsยง
- F_
COMPRESSED - Value body is QuickLZ-compressed (this crate cannot decode it).
- F_
SERIALIZED - Value body is a Java-serialized object (this crate cannot decode it).
- MARKER_
BOOLEAN - A boolean, stored as a single byte (
0/1). - MARKER_
BYTE - A single byte.
- MARKER_
BYTEARR - A raw byte array.
- MARKER_
CHARACTER - A character, stored as a 32-bit integer.
- MARKER_
DATE - A date, stored as an 8-byte big-endian millisecond timestamp.
- MARKER_
DOUBLE - A 64-bit double, big-endian IEEE-754 bits.
- MARKER_
INTEGER - A 32-bit integer, big-endian.
- MARKER_
LONG - A 64-bit long, big-endian.
- MARKER_
SHORT - A 16-bit short, big-endian.
- MARKER_
STRING - A
String, stored as UTF-8. - MARKER_
STRINGBUFFER - A
StringBuffer, stored as UTF-8. - MARKER_
STRINGBUILDER - A
StringBuilder, stored as UTF-8.