Module gdal::vsi

source ·
Expand description

GDAL Virtual File System Library Functions

This module provides safe access to a subset of the GDAL VSI Functions. See GDAL Virtual File Systems document for details.

Structs

  • A helper struct that unlinks a mem file that points to borrowed data before that data is freed.

Functions

  • Computes a function on the bytes of the vsi in-memory file with given file_name. This method is useful if you don’t want to take the ownership of the memory.
  • Creates a new VSIMemFile from a given buffer.
  • Creates a new VSIMemFile from a given buffer reference. Returns a handle that has a lifetime that is shorter than data.
  • Copies the bytes of the VSIMemFile with given file_name. Takes the ownership and frees the memory of the VSIMemFile.
  • Read the file names from a virtual file system with optional recursion.
  • Unlink a VSIMemFile.