pub fn parse_wal_frames(
wal: &[u8],
page_size: u32,
) -> BTreeMap<u32, Vec<WalFrame>>Expand description
Parse all frames from a WAL file, grouped by salt1 (transaction identifier).
Returns BTreeMap<salt1, Vec
Note: salt1 values are random — BTreeMap ordering by key does NOT imply time ordering. Use file position (frame index) to determine recency.