MCPcopy Create free account
hub / github.com/apache/qpid-proton / decode

Method decode

cpp/src/decoder.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void decoder::decode(const char* i, size_t size) {
60 internal::state_guard sg(*this);
61 const char* end = i + size;
62 while (i < end)
63 i += check(pn_data_decode(pn_object(), i, size_t(end - i)));
64}
65
66void decoder::decode(const std::string& s) { decode(s.data(), s.size()); }
67

Callers 5

test_data_ostreamFunction · 0.45
message_decodeFunction · 0.45
test_message_reuseFunction · 0.45
pni_sasl_impl_decodeFunction · 0.45

Calls 5

decodeFunction · 0.85
checkFunction · 0.70
pn_data_decodeFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by 3

test_data_ostreamFunction · 0.36
test_message_reuseFunction · 0.36