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

Function pn_data_put_binary

c/src/core/codec.c:1801–1808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1799}
1800
1801int pn_data_put_binary(pn_data_t *data, pn_bytes_t bytes)
1802{
1803 pni_node_t *node = pni_data_add(data);
1804 if (node == NULL) return PN_OUT_OF_MEMORY;
1805 node->atom.type = PN_BINARY;
1806 node->atom.u.as_bytes = bytes;
1807 return pni_data_intern_node(data, node);
1808}
1809
1810int pn_data_put_string(pn_data_t *data, pn_bytes_t string)
1811{

Callers 11

pn_data_vfillFunction · 0.70
pn_data_appendnFunction · 0.70
pni_decoder_decode_valueFunction · 0.70
pn_data_put_amqp_binaryFunction · 0.50
sender_context_initFunction · 0.50
get_messageFunction · 0.50
mainFunction · 0.50
proactor_test.cppFile · 0.50
message_test.cppFile · 0.50
BM_Encode10MbMessageFunction · 0.50

Calls 2

pni_data_addFunction · 0.85
pni_data_intern_nodeFunction · 0.85

Tested by

no test coverage detected