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

Function pn_data_put_amqp_string

cpp/src/encoder.cpp:114–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112template <> pn_decimal128_t coerce(const decimal128 &x) { pn_decimal128_t y; byte_copy(y, x); return y; }
113
114int pn_data_put_amqp_string(pn_data_t *d, const std::string& x) { return pn_data_put_string(d, pn_bytes(x)); }
115int pn_data_put_amqp_binary(pn_data_t *d, const binary& x) { return pn_data_put_binary(d, pn_bytes(x)); }
116int pn_data_put_amqp_symbol(pn_data_t *d, const symbol& x) { return pn_data_put_symbol(d, pn_bytes(x)); }
117} // namespace

Callers

nothing calls this directly

Calls 2

pn_bytesFunction · 0.70
pn_data_put_stringFunction · 0.50

Tested by

no test coverage detected