Number of committed blocks.
The committed region of the buffer.
Offset just past the last commit marker and its payload.
The committed region as a Table (handles an optional GS name and SOH header, then RS records).
Uncommitted trailing bytes — residue of an interrupted append.
True if uncommitted bytes trail the last commit marker.
Scans a buffer for ETB commit markers and exposes only the committed region. Zero-copy: accessors return subarrays.
const reader = new StreamReader(buf) reader.torn // uncommitted tail present? reader.eachRecord(rec => { ... }) // committed records only