Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to converet negative byte value to postive int value in java

int value = (byteValue >= (byte) 0) ? (int) byteValue : 256 + (int) byteValue; 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #converet #negative #byte #postive #int #java
ADD COMMENT
Topic
Name
3+4 =