pub fn write_overflow_chain(
pager: &mut Pager,
bytes: &[u8],
alloc: &mut PageAllocator,
) -> Result<u32>Expand description
Writes bytes into a chain of Overflow-typed pages, drawing each
page number from the supplied [PageAllocator]. Returns the page
number of the first link in the chain (the value to record in the
OverflowRef cell on the owning leaf).
Pages no longer have to be consecutive — the chain is followed by
next_page pointers, and the allocator may hand out pages from a
freelist or preferred pool that aren’t sequential.