pub fn canonical_item_size(item: &IltpItem) -> Result<usize, IltpError>
Canonical encoded size of one item, without rendering or copying it. A control item beyond the item cap is ItemTooLarge.
ItemTooLarge