pub fn pack_dispatch_table_into(
entries: &[OpcodeHandlerEntry],
out: &mut Vec<u32>,
) -> Result<(), PackError>Expand description
Pack a dispatch table into caller-owned storage.
This is the hot-path API for repeated interpreter construction: the
caller owns out, and this function clears then reuses its capacity.
ยงErrors
Returns the first encoding overflow or output allocation failure
encountered. On error, out is left unchanged.