law capacity_view
import lawful-bytes@0.1.1.0/LAWS.bend as LAWSimport Base
import lawful-bytes@0.1.1.0/defs.bend as D
import lawful-bytes@0.1.1.0/bytes.bend as B
233law capacity_view:
234 for b: D.Bytes
235 for d: Nat
236 for h: {D.ok(b, d) == True{} : Bool}
237 {U32.to_nat(Pair.snd(D.Bytes, U32, B.capacity(b))) == D.cap(b) : Nat}
Uses (11)
Used by (0)
No other definition uses this definition.