def eq.len

bend-kit-bytes@0.3.3.0 · bytes.bend:569

import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import Base

569def eq.len(same: Bool, +la: U32, xa: Array<U32>, +lb: U32, ya: Array<U32>) -> Bytes & Bytes & Bool:
570  match same:
571    case False{}:
572      (Bytes{la, xa}, Bytes{lb, ya}, False{})
573    case True{}:
574      eq.fin(la, lb, eq.go(U32.to_nat(words(la)), True{}, Array.get(U32, xa, 0), Array.get(U32, ya, 0), 0))

Uses (11)

Used by (1)