MCPcopy Create free account
hub / github.com/ceph/ceph / decode_nohead

Function decode_nohead

src/include/encoding.h:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 encode_nohead(std::string_view(s), bl);
239}
240inline void decode_nohead(unsigned len, std::string& s, bufferlist::const_iterator& p)
241{
242 s.clear();
243 p.copy(len, s);
244}
245
246// const char* (encode only, string compatible)
247inline void encode(const char *s, bufferlist& bl)

Callers

nothing calls this directly

Calls 8

decodeFunction · 0.70
clearMethod · 0.45
copyMethod · 0.45
insertMethod · 0.45
reserveMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45
emplaceMethod · 0.45

Tested by

no test coverage detected