Return the total amount used by a key (encoded length + payload) */
| 180 | |
| 181 | /* Return the total amount used by a key (encoded length + payload) */ |
| 182 | static unsigned int zipmapRawKeyLength(unsigned char *p) { |
| 183 | unsigned int l = zipmapDecodeLength(p); |
| 184 | return zipmapEncodeLength(NULL,l) + l; |
| 185 | } |
| 186 | |
| 187 | /* Return the total amount used by a value |
| 188 | * (encoded length + single byte free count + payload) */ |
no test coverage detected