public void writeLong(long v) throws IOException {
  dataOutput.writeLong(v);
  offset+=8;
}

public void writeLong ( long v ) throws IOException { dataOutput . writeLong ( v ) ; offset += 8 ; }
writes a single long .
