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

Function pn_decoder_readf16

c/src/core/decoder.c:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static inline uint16_t pn_decoder_readf16(pn_decoder_t *decoder)
56{
57 uint16_t a = (uint8_t) decoder->position[0];
58 uint16_t b = (uint8_t) decoder->position[1];
59 uint16_t r = a << 8
60 | b;
61 decoder->position += 2;
62 return r;
63}
64
65static inline uint32_t pn_decoder_readf32(pn_decoder_t *decoder)
66{

Callers 1

pni_decoder_decode_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected