Skip to main content

annotate_tile

Function annotate_tile 

Source
pub fn annotate_tile(buf: &[u8]) -> (DumpTree, Option<MltError>)
Expand description

Walk a whole tile buffer, producing an annotated DumpTree.

The returned tree references offsets into buf; keep buf alive to render it. A walk that bails still hands back everything it annotated, sealed into a tree whose leaves partition the buffer, alongside the error that stopped it.