read_envelope_hugr¶
- hugr.envelope.read_envelope_hugr(envelope: bytes) Hugr [source]¶
Decode a HUGR from an envelope.
- Raises:
ValueError – If the envelope does not contain a single module.
Decode a HUGR from an envelope.
ValueError – If the envelope does not contain a single module.