Skip to main content

validate_stream_batch_size

Function validate_stream_batch_size 

Source
pub fn validate_stream_batch_size(batch_size: usize) -> Result<usize>
Expand description

Validate one requested stream batch size against the shared finite policy.

Language bindings should call this before workbook lookup or reader state changes so the exact same zero and upper boundaries apply everywhere.