diff --git a/src/utils.h b/src/utils.h index b13c5e2..b7d3118 100644 --- a/src/utils.h +++ b/src/utils.h @@ -31,7 +31,8 @@ int local_strchr(char* string, char ch); // `itoa` for uint32_t. void u32_to_str(char* dest, uint8_t dest_size, uint32_t in); -// Converts a list of bytes (in BE) of length `size` to a uint32_t. +// Converts a list of bytes (in BE) of length `size` to a uint32_t. `strict` will make the function +// throw if the size is > 4. uint32_t u32_from_BE(uint8_t* in, uint8_t size, bool strict); void amountToString(uint8_t* amount,