Here you can find the source of makeShort(byte b1, byte b0)
static private short makeShort(byte b1, byte b0)
//package com.java2s; public class Main { static private short makeShort(byte b1, byte b0) { return (short) ((b1 << 8) | (b0 & 0xff)); }/* www .j a v a 2 s . com*/ }