pub const fn truncation_batch_retained(batch_last: i64, cut: i64) -> bool
One decoded batch belongs to the exact retained prefix iff its inclusive last offset is below the exclusive cut.