Access memory using small fixed size buffers. Adapted from mafintosh/memory-pager.
extern crate memory_pager;
let mut pager = memory_pager::Pager::new(1024);
let page = pager.get_mut_or_alloc(3);
assert_eq!(page.len(), 1024);
$ cargo add memory-pager
MIT OR Apache-2.0