public void writeByte(byte v) throws IOException {
  dataOutput.writeByte(v);
  offset+=1;
}

public void writeByte ( byte v ) throws IOException { dataOutput . writeByte ( v ) ; offset += 1 ; }
writes a single byte .
