public void writeLEShort(short s) throws IOException {
  out.write(s & 0xFF);
  out.write((s >>> 8) & 0xFF);
  written+=2;
}

public void writeLEShort ( short s ) throws IOException { out . write ( s & 0xFF ) ; out . write ( ( s > > > 8 ) & 0xFF ) ; written += 2 ; }
writes a number of type short in little endian
