def FromBytes.le
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as Fixedimport Base
251def FromBytes.le(~T: Data, ~val: T -> Nat, ~f: List<&2, U32> -> Maybe<&2, T>, +nb: Nat, bs: List<&2, U32>) -> Type:
252 {mval(~T, ~val, f(bs)) == from_le(nb, nats(bs)) : Maybe<&2, Nat>}
Uses (7)
Used by (4)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixbytes:u32_from_le
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixbytes:u64_from_le
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u32_from_bytes_le
- bend-collections-laws-math@1.0.0.0/proofs/math/number/proof:u64_from_bytes_le