@Override public final void writeInt(int v) throws IOException {
  work[0]=(byte)v;
  work[1]=(byte)(v >> 8);
  work[2]=(byte)(v >> 16);
  work[3]=(byte)(v >> 24);
  dis.write(work,0,4);
}

@ Override public final void writeInt ( int v ) throws IOException { work [ 0 ] = ( byte ) v ; work [ 1 ] = ( byte ) ( v > > 8 ) ; work [ 2 ] = ( byte ) ( v > > 16 ) ; work [ 3 ] = ( byte ) ( v > > 24 ) ; dis . write ( work , 0 , 4 ) ; }
write an int , 32 - bits . like dataoutputstream . writeint .
