code: public synchronized void resetAll(long value) throws IOException {
        if(_elementSize != 8) {
            throw new IOException("Operation aborted: elementSize=" + _elementSize);
        }
        
        _writer.flush();
        _writer.position(DATA_START_POSITION);
        for(int i = 0; i < this._arrayLength; i++) {
            _writer.writeLong(value);
        }
        _writer.flush();
    }
docs: Resets all element values to the specified long value.
  
  @param value - the element value.
  @throws IOException