I need to convert 11011101 to a byte but when I try:
Error:
What I have to do to decide this problem?
How I decide this problem with the band of representation of a byte?
Code:
Byte.valueOf("11011101", 2);
Error:
Code:
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: Value out of range. Value:"11011101" Radix:2
What I have to do to decide this problem?
How I decide this problem with the band of representation of a byte?
Comment