MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / decode

Method decode

libminifi/include/FlowControlProtocol.h:233–236  ·  view source on GitHub ↗

encode uint32_t

Source from the content-addressed store, hash-verified

231
232 // encode uint32_t
233 uint8_t *decode(uint8_t *buf, uint32_t &value) {
234 value = ((buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | (buf[3]));
235 return (buf + 4);
236 }
237
238 // encode byte array
239 uint8_t *encode(uint8_t *buf, uint8_t *bufArray, int size) {

Callers 12

readHdrMethod · 0.95
sendRegisterReqMethod · 0.95
sendReportReqMethod · 0.95
find_closest_mirrorFunction · 0.80
get_attributeMethod · 0.80
log_nifi_outputMethod · 0.80
is_s3_bucket_emptyMethod · 0.80
serializeMethod · 0.80

Calls

no outgoing calls

Tested by 6

log_nifi_outputMethod · 0.64
is_s3_bucket_emptyMethod · 0.64