MCPcopy Create free account
hub / github.com/ElementsProject/lightning / hash_u5

Class hash_u5

common/bolt11.c:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39/* If pad is false, we discard any bits which don't fit in the last byte.
40 * Otherwise we add an extra byte. Returns error string or NULL on success. */
41static const char *pull_bits(struct hash_u5 *hu5,
42 const u5 **data, size_t *data_len,
43 void *dst, size_t nbits,
44 bool pad)

Callers 1

pull_bitsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected