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

Function pn_data_get_array

c/src/core/codec.c:1856–1868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1854}
1855
1856size_t pn_data_get_array(pn_data_t *data)
1857{
1858 pni_node_t *node = pni_data_current(data);
1859 if (node && node->atom.type == PN_ARRAY) {
1860 if (node->described) {
1861 return node->children - 1;
1862 } else {
1863 return node->children;
1864 }
1865 } else {
1866 return 0;
1867 }
1868}
1869
1870bool pn_data_is_array_described(pn_data_t *data)
1871{

Callers 4

get_arrayMethod · 0.85
decoder.cppFile · 0.85
pni_normalize_multipleFunction · 0.85

Calls 1

pni_data_currentFunction · 0.85

Tested by

no test coverage detected