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

Class sdshdr8

sds.h:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 char buf[];
50};
51struct __attribute__ ((__packed__)) sdshdr8 {
52 uint8_t len; /* used */
53 uint8_t alloc; /* excluding the header and null terminator */
54 unsigned char flags; /* 3 lsb of type, 5 unused bits */
55 char buf[];
56};
57struct __attribute__ ((__packed__)) sdshdr16 {
58 uint16_t len; /* used */
59 uint16_t alloc; /* excluding the header and null terminator */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected