Parse a ZREV v1 event batch from raw bytes.
Validates header magic/version, enforces configured caps, parses all event records, and verifies cursor matches declared total_size.
Raw event batch bytes from the engine
Parser caps (defaults: maxEvents=4096, maxPasteBytes=256KiB, maxUserPayloadBytes=256KiB)
ParseResult with batch flags and event array on success, or error on failure
Parse a ZREV v1 event batch from raw bytes.
Validates header magic/version, enforces configured caps, parses all event records, and verifies cursor matches declared total_size.