private void putInt(int offset, int value) throws IOException {
      lockBuffer();
      try {
        bufferWrapper.putInt(addressInBuffer + offset, value);
      }
      finally {
        unlockBuffer();
      }
    }
private void putInt(int offset, int value)