solana_accounts_db::tiered_storage

Module mmap_utils

source

Functions§

  • Borrows a value of type T from mmap
  • Get a reference to the data at offset of size bytes if that slice doesn’t overrun the internal buffer. Otherwise return an Error. Also return the offset of the first byte after the requested data that falls on a 64-byte boundary.
  • Borrows a value of type T from mmap