Added a util function to convert from byte buffer to uint128_t

This commit is contained in:
Alexandre Paillier
2022-06-08 11:38:08 +02:00
parent f3e307423e
commit bbcfe5abc3
3 changed files with 14 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ typedef customStatus_e (*ustreamProcess_t)(struct txContext_t *context);
#define TX_FLAG_TYPE 0x01
#define ADDRESS_LENGTH 20
#define INT128_LENGTH 16
#define INT256_LENGTH 32
// First variant of every Tx enum.