Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert two bytes to int java

int val = ((bytes[2] & 0xff) << 8) | (bytes[3] & 0xff);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #bytes #int #java
ADD COMMENT
Topic
Name
3+6 =