public static short readShort ( byte b [ ] , int offset ) { int retValue ; retValue = b [ offset ++ ] << 8 ; retValue |= b [ offset ] & 0xff ; return ( short ) retValue ; }
Unserializes a short from a byte array at a specific offset in big - endian order