sdshdr
len5
struct sdshdr { //记录buf数组种已使用字节的数量 //等同于SDS所保存字符串的长度 int len; //记录buf数组中未使用字节的数量 int free; // 字节数组,用户保存字符串 char buf[];};
'd'
'R'
'e'
's'
'i'
free5
'\\0'
buf