SCALE: Compact Encoding description needs to be modified
bhargavbh opened this issue · 0 comments
bhargavbh commented
In the Compact/ Length encoding Definition, for the case n>= 2^ 30
, the value m
should denote the length of the actual integer being encoded. Currently, m also counts the byte used for encoding length (= the first byte). With this change, the encoding can be used to represent number up to (2^(63+4)*8) -1 = (2^536) -1
. The implementations already use this convention.