#include "util/coding.h"
namespace leveldb {
void PutFixed32(std::string* dst, uint32_t value) { … }
void PutFixed64(std::string* dst, uint64_t value) { … }
char* EncodeVarint32(char* dst, uint32_t v) { … }
void PutVarint32(std::string* dst, uint32_t v) { … }
char* EncodeVarint64(char* dst, uint64_t v) { … }
void PutVarint64(std::string* dst, uint64_t v) { … }
void PutLengthPrefixedSlice(std::string* dst, const Slice& value) { … }
int VarintLength(uint64_t v) { … }
const char* GetVarint32PtrFallback(const char* p, const char* limit,
uint32_t* value) { … }
bool GetVarint32(Slice* input, uint32_t* value) { … }
const char* GetVarint64Ptr(const char* p, const char* limit, uint64_t* value) { … }
bool GetVarint64(Slice* input, uint64_t* value) { … }
bool GetLengthPrefixedSlice(Slice* input, Slice* result) { … }
}