pub fn pack_bounded( rows: &[Row], max_ledgers: usize, max_raw: usize, opt: Options, ) -> Result<(Vec<u8>, Vec<Stats>), String>
Adaptive ledger boundaries; this constrains raw bytes, not total process RSS.