pyvista_zstd.Reader.close

Contents

pyvista_zstd.Reader.close#

Reader.close() None#

Release the container. Safe to call more than once.

Unmaps the file, or drops the reference to the buffer this reader was given – which, until now, has kept those bytes alive on the caller’s behalf. Reading anything afterwards raises ValueError; the metadata taken when the container was opened stays readable, because it was copied out then and no longer touches the container.