def u32_from_be

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

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

223def u32_from_be(bs: List<&2, U32>) -> SF.FromBytes.be(~U32, ~SG.u32_val, ~F.u32_from_bytes_be, 4n, bs):
224  match bs:
225    case Nil{}:
226      {==}
227    case Con{+b3, t}:
228      fbe1(b3, t)

Uses (6)

Used by (1)