Function arrow2::mmap::mmap_dictionaries_unchecked
source · pub unsafe fn mmap_dictionaries_unchecked<T: AsRef<[u8]>>(
metadata: &FileMetadata,
data: Arc<T>
) -> Result<Dictionaries, Error>
Expand description
Memory maps dictionaries from an IPC file into
§Safety
The caller must ensure that data
contains a valid buffers, for example:
- Offsets in variable-sized containers must be in-bounds and increasing
- Utf8 data is valid