Skip to main content

read_footer

Function read_footer 

Source
pub async fn read_footer(storage: &(dyn Storage + Sync)) -> Result<Footer>
Expand description

Reads and deserializes the footer from storage.

Performs a two-pass read: first reads the 12-byte trailer to learn the footer size, then reads the full footer payload if needed.