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

Method encode

src/include/util.h:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void encode(ceph::buffer::list &bl) const {
52 ENCODE_START(1, 1, bl);
53 encode(byte_total, bl);
54 encode(byte_used, bl);
55 encode(byte_avail, bl);
56 encode(avail_percent, bl);
57 ENCODE_FINISH(bl);
58 }
59
60 void decode(ceph::buffer::list::const_iterator &p) {
61 DECODE_START(1, p);

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected