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

Function pn_encoder_writev32

c/src/core/encoder.c:216–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216static inline void pn_encoder_writev32(pn_encoder_t *encoder, const pn_bytes_t *value)
217{
218 pn_encoder_writef32(encoder, value->size);
219 if (pn_encoder_remaining(encoder) >= value->size && value->size) {
220 char* position = encoder->output+encoder->position;
221 memmove(position, value->start, value->size);
222 }
223 encoder->position += value->size;
224}
225
226/* True if node is an element of an array - not the descriptor. */
227static bool pn_is_in_array(pn_data_t *data, pni_node_t *parent, pni_node_t *node) {

Callers 1

pni_encoder_enterFunction · 0.85

Calls 2

pn_encoder_writef32Function · 0.85
pn_encoder_remainingFunction · 0.85

Tested by

no test coverage detected