Very large non-negative numbers are encoded to hex strings in excess of 64 chars - this is due to Two's Complement representation being set to true on these non-negative numbers.
This minor edit ensures that Two's Complement representation on hex conversion is only applied when the number is actually negative.
Very large non-negative numbers are encoded to hex strings in excess of 64 chars - this is due to Two's Complement representation being set to true on these non-negative numbers.
This minor edit ensures that Two's Complement representation on hex conversion is only applied when the number is actually negative.