final short rlshort(DataInputStream dis) throws IOException {
  short s=0;
  short high, low;
  s=dis.readShort();
  high=(short)((s & 0xFF) << 8);
  low=(short)((s & 0xFF00) >>> 8);
  s=(short)(high | low);
  return s;
}

final short rlshort ( DataInputStream dis ) throws IOException { short s = 0 ; short high , low ; s = dis . readShort ( ) ; high = ( short ) ( ( s & 0xFF ) << 8 ) ; low = ( short ) ( ( s & 0xFF00 ) > > > 8 ) ; s = ( short ) ( high | low ) ; return s ; }
rlshort protected helper method to read 16 bits value . swap high with low byte .
