| 112 | } |
| 113 | |
| 114 | static unsigned int zipmapGetEncodedLengthSize(unsigned char *p) { |
| 115 | return (*p < ZIPMAP_BIGLEN) ? 1: 5; |
| 116 | } |
| 117 | |
| 118 | /* Encode the length 'l' writing it in 'p'. If p is NULL it just returns |
| 119 | * the amount of bytes required to encode such a length. */ |
no outgoing calls
no test coverage detected