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

Function pn_decoder_readf32

c/src/core/decoder.c:65–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static inline uint32_t pn_decoder_readf32(pn_decoder_t *decoder)
66{
67 uint32_t a = (uint8_t) decoder->position[0];
68 uint32_t b = (uint8_t) decoder->position[1];
69 uint32_t c = (uint8_t) decoder->position[2];
70 uint32_t d = (uint8_t) decoder->position[3];
71 uint32_t r = a << 24
72 | b << 16
73 | c << 8
74 | d;
75 decoder->position += 4;
76 return r;
77}
78
79static inline uint64_t pn_decoder_readf64(pn_decoder_t *decoder)
80{

Callers 2

pn_decoder_readf64Function · 0.85
pni_decoder_decode_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected