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

Function encode_raw

src/include/encoding.h:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74template<class T>
75inline void encode_raw(const T& t, bufferlist& bl)
76{
77 bl.append((char*)&t, sizeof(t));
78}
79template<class T>
80inline void decode_raw(T& t, bufferlist::const_iterator &p)
81{

Callers 6

encodeMethod · 0.85
encodeFunction · 0.85
encodeMethod · 0.85
encodeFunction · 0.85
encodeFunction · 0.85
encodeMethod · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected