Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify HEX-encoded byte string to byte conversion
The code to convert a string containing a single byte encoded in HEX to a byte is done in an unnecessary complex way. A parsing to int is already performed and this integer value can directly be used as a byte value instead of making an explicit conversion of an unsigned to a signed value before parsing the byte again.
- Loading branch information