public final void writeInt(final int i){
  baos.write((byte)(i & 0xFF));
  baos.write((byte)((i >>> 8) & 0xFF));
  baos.write((byte)((i >>> 16) & 0xFF));
  baos.write((byte)((i >>> 24) & 0xFF));
}

public final void writeInt ( final int i ) { baos . write ( ( byte ) ( i & 0xFF ) ) ; baos . write ( ( byte ) ( ( i > > > 8 ) & 0xFF ) ) ; baos . write ( ( byte ) ( ( i > > > 16 ) & 0xFF ) ) ; baos . write ( ( byte ) ( ( i > > > 24 ) & 0xFF ) ) ; }
writes an integer to the stream .
