def u32_from_le

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/fixbytes.bend:188

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixbytes.bend as Fixbytes
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as SF
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as F

188def u32_from_le(bs: List<&2, U32>) -> SF.FromBytes.le(~U32, ~SG.u32_val, ~F.u32_from_bytes_le, 4n, bs):
189  match bs:
190    case Nil{}:
191      {==}
192    case Con{+b0, t}:
193      fle1(b0, t)

Uses (6)

Used by (1)