public void put(long index, @NotNull ByteBuffer buffer) throws IOException {
    ensureSize(index + (buffer.limit() - buffer.position()));
    storage.putBuffer(index, buffer);
  }
public void put(long index, @NotNull ByteBuffer buffer)