|
Java™ by example!
|
|
|
How do I convert a hexadecimal value to a byte?
The Byte class has a static method decode that can decode decimal, hexadecimal and octal values. Main.java:
outputs
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|