docs: def _ensureinmemory(self):
          """Ensure the data is held in memory, not in a file."""
          self._setbytes_unsafe(self._datastore.getbyteslice(0, self._datastore.bytelength),
                                self.len, self._offset)