Quantcast
Channel: CodeSection,代码区,数据库(综合) - CodeSec
Viewing all articles
Browse latest Browse all 6262

redis 字符串

$
0
0

在 redis 中,字符串的基本结构如下,其中, len 表示字符串的长度, alloc 表示字符串的最大容量, flags 表示header的类型。

struct __attribute__ ((__packed__)) sdshdr8 { uint8_t len; /*


Viewing all articles
Browse latest Browse all 6262

Trending Articles