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

Function pn_data_get_byte

c/src/core/codec.c:1922–1930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1920}
1921
1922int8_t pn_data_get_byte(pn_data_t *data)
1923{
1924 pni_node_t *node = pni_data_current(data);
1925 if (node && node->atom.type == PN_BYTE) {
1926 return node->atom.u.as_byte;
1927 } else {
1928 return 0;
1929 }
1930}
1931
1932uint16_t pn_data_get_ushort(pn_data_t *data)
1933{

Callers 4

get_byteMethod · 0.85
decoder.cppFile · 0.85
pn_data_vscanFunction · 0.85
pn_data_appendnFunction · 0.85

Calls 1

pni_data_currentFunction · 0.85

Tested by

no test coverage detected