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

@ Override public final void writeShort ( int v ) throws IOException { work [ 0 ] = ( byte ) v ; work [ 1 ] = ( byte ) ( v > > 8 ) ; dis . write ( work , 0 , 2 ) ; }
write short , 16 - bits . like dataoutputstream . writeshort . also acts as a writeunsignedshort
