Skip to main content

write_overflow_chain

Function write_overflow_chain 

Source
pub fn write_overflow_chain(
    pager: &mut Pager,
    bytes: &[u8],
    start_page: u32,
) -> Result<u32>
Expand description

Writes bytes into a chain of Overflow-typed pages starting at start_page, using consecutive page numbers. Returns the first page number after the chain (i.e., the next free page to hand out).