MCPcopy Create free account
hub / github.com/chen3feng/toft / Encode64

Method Encode64

encoding/varint.cpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72char* Varint::Encode64(char* p, char* limit, uint64_t v) {
73 if (EncodedLength(v) > limit - p)
74 return NULL;
75 return UnsafeEncode64(p, v);
76}
77
78void Varint::PutLengthPrefixedStringPiece(std::string* dst, const StringPiece& value) {
79 Put32(dst, value.size());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected