Function re_viewer::external::arrow2::mmap::mmap_dictionaries_unchecked

pub unsafe fn mmap_dictionaries_unchecked<T>(
    metadata: &FileMetadata,
    data: Arc<T>
) -> Result<AHashMap<i64, Box<dyn Array>>, Error>
where T: AsRef<[u8]>,
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