DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
how to merge 2 bytes into an integer
int number = buf[0] | buf[1] << 8;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#merge
#bytes
#integer
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit