Decode a serialized env blob (`Ixon.serEnv` output) via `Env::get`, then harvest `anon_hints` from each `Def` named entry. Used by the compiled-Lean-env path where the env is built in Lean memory and serialized for the cross-FFI handoff.
(bytes: &[u8])
| 30 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, String> { |
| 31 | let mut cursor: &[u8] = bytes; |
| 32 | let env = Env::get(&mut cursor)?; |
| 33 | Ok(Self { env }) |
| 34 | } |
| 35 | } |