|
|
@ -35,8 +35,8 @@ extern bool GetLengthPrefixedSlice(Slice* input, Slice* result); |
|
|
|
// in *v and return a pointer just past the parsed value, or return |
|
|
|
// NULL on error. These routines only look at bytes in the range |
|
|
|
// [p..limit-1] |
|
|
|
extern const char* GetVarint32Ptr(const char* p,const char* limit, uint32_t* v); |
|
|
|
extern const char* GetVarint64Ptr(const char* p,const char* limit, uint64_t* v); |
|
|
|
extern const char* GetVarint32Ptr(const char* p, const char* limit, uint32_t* v); |
|
|
|
extern const char* GetVarint64Ptr(const char* p, const char* limit, uint64_t* v); |
|
|
|
|
|
|
|
// Returns the length of the varint32 or varint64 encoding of "v" |
|
|
|
extern int VarintLength(uint64_t v); |
|
|
|