Skip to main content

parse_buffer

Function parse_buffer 

Source
pub fn parse_buffer(buf: &[u8]) -> (u64, Vec<UsnRecord>, bool)
Expand description

Parse a raw FSCTL output buffer.

Returns the leading “next” cursor value, the decoded records, and whether trailing bytes had to be dropped (malformed/truncated input — callers surface this as a counter+warning instead of letting it vanish).