List of utility methods to do Short Bit Set
return (short) ((x << 8) | ((x >> 8) & 0xff));
int b1 = value & 0xff; int b2 = (value >> 8) & 0xff; return (short) (b1 << 8 | b2 << 0);