def u64_from_be

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

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/u64.bend as WU
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as F

481def u64_from_be(bs: List<&2, U32>) -> SF.FromBytes.be(~WU.U64, ~SG.u64_val, ~F.u64_from_bytes_be, 8n, bs):
482  match bs:
483    case Nil{}:
484      {==}
485    case Con{+x0, t}:
486      gbe1(x0, t)

Uses (7)

Used by (1)