Function from_bytes

Source
pub fn from_bytes(
    bytes: impl IntoIterator<Item = u8>,
) -> impl Iterator<Item = Result<Constraint, FromBytesError>>
Expand description

Parse operations from the given iterator yielding bytes.

Returns an iterator yielding Op results, erroring in the case that an invalid opcode is encountered or the iterator contains insufficient bytes for an operation.