def Crc32Spec.finish

bend-osdev-crc@0.1.0.0 · crc.bend:205

import bend-osdev-crc@0.1.0.0/crc.bend as Crc
import Base

205def Crc32Spec.finish(spec: Crc32Spec, c: U32) -> U32:
206  match spec:
207    case Crc32Spec{width, poly, init, reflected, xorout}:
208      U32.xor(c, xorout)

Uses (3)

Used by (5)