byte array syntax

I have a byte array of 100 bytes. In byte 4 and 5 is an integer value to be stored. How can I map and address these two bytes as integer? Or do I have to convert the two bytes to int first?
[196 byte] By [davendaa] at [2007-11-27 6:34:07]
# 1
Assuming byte at index 4 is the high byte:((0x00ff & byteArray[4]) << 8) | (0x00ff & byteArray[5])
quittea at 2007-7-12 18:00:19 > top of Java-index,Java Essentials,Java Programming...