def decode.c.if
import bend-kit-runner@0.13.0.1/runner.bend as Runnerimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
947def decode.c.if(-A: Data, abandon: Bool, +tag: U32, +len: U32, +a: Nat, +c: Nat, b: Bytes.Bytes) -> Maybe<&2, Op<A>>:
948 match abandon:
949 case True{}:
950 decode.long(A, U32.is_eq(len, 28), a, c, get.u64(b, 20))
951 case False{}:
952 decode.small(A, U32.is_eq(len, 20), tag, a, c)