MCPcopy Create free account
hub / github.com/antirez/botlib / sdshdr32

Class sdshdr32

sds.h:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 char buf[];
62};
63struct __attribute__ ((__packed__)) sdshdr32 {
64 uint32_t len; /* used */
65 uint32_t alloc; /* excluding the header and null terminator */
66 unsigned char flags; /* 3 lsb of type, 5 unused bits */
67 char buf[];
68};
69struct __attribute__ ((__packed__)) sdshdr64 {
70 uint64_t len; /* used */
71 uint64_t alloc; /* excluding the header and null terminator */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected