pub fn read_from_slice<'a>( slice: &[u8], bump: &'a Bump, ) -> Result<Package<'a>, ReadError>
Read a hugr package from a byte slice.