Skip to main content

truncation_batch_retained

Function truncation_batch_retained 

Source
pub const fn truncation_batch_retained(batch_last: i64, cut: i64) -> bool
Expand description

One decoded batch belongs to the exact retained prefix iff its inclusive last offset is below the exclusive cut.