pub fn encode_items(items: &[PackItem]) -> Result<Vec<u8>>Expand description
Encode items into the shared packed-item wire form
[item_count u32 LE][items...].
This is the canonical codec used by both Op::PackSegments (inline in the
graph record) and Op::PackedChannels (carried in a plan entropy channel),
so the two never diverge.