A function to transform a bytes chunk (up to 6 bytes into U48 number)
Note that it uses 3 additional bits to store length(value * 8 + len;), It is needed to distinguish shorter chunks that have 0s at the end, for example: [1, 2] and [1, 2, 0]
value * 8 + len;
A function to transform a bytes chunk (up to 6 bytes into U48 number)
Note that it uses 3 additional bits to store length(
value * 8 + len;), It is needed to distinguish shorter chunks that have 0s at the end, for example: [1, 2] and [1, 2, 0]