DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+6 =
Submit