public static short readLittleEndianShort(DataInputStream dis) throws IOException {
  short bits=(short)(0x0000ff & dis.readByte());
  bits|=(((short)(0x0000ff & dis.readByte())) << 8);
  return bits;
}

public static short readLittleEndianShort ( DataInputStream dis ) throws IOException { short bits = ( short ) ( 0x0000ff & dis . readByte ( ) ) ; bits |= ( ( ( short ) ( 0x0000ff & dis . readByte ( ) ) ) << 8 ) ; return bits ; }
reads the next little - endian short from the given datainputstream .
