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

Function is_null

c/tests/tls_test.cpp:269–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269bool is_null(pn_raw_buffer_t &rb) {
270 return rb.bytes == NULL && rb.capacity == 0 && rb.size == 0 && rb.offset == 0;
271}
272
273bool is_valid(pn_raw_buffer_t &rb) {
274 return rb.bytes && rb.capacity && (rb.size + rb.offset <= rb.capacity);

Callers 1

pumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected