How to convert a hexadecimal string to long in java?
Long.decode(str) accepts a variety of formats: Accepts decimal, hexadecimal, and octal numbers given by the following grammar: DecodableString: Signopt DecimalNumeral Signopt 0x HexDigits Signopt 0X HexDigits Signopt # HexDigits Signopt 0 OctalDigits Sign: – But in your case that won’t help, your String is beyond the scope of what long can hold. You need a … Read more