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

Function fromwire_utf8_array

wire/fromwire.c:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void fromwire_utf8_array(const u8 **cursor, size_t *max, char *arr, size_t num)
233{
234 fromwire(cursor, max, arr, num);
235 if (!utf8_check(arr, num))
236 fromwire_fail(cursor, max);
237}
238
239u8 *fromwire_tal_arrn(const tal_t *ctx,
240 const u8 **cursor, size_t *max, size_t num)

Callers

nothing calls this directly

Calls 3

fromwireFunction · 0.70
fromwire_failFunction · 0.70
utf8_checkFunction · 0.50

Tested by

no test coverage detected