def empty.header.magic.checked

mylsm-lsm-store@0.6.0.1 · src/transfer/Restore.bend:390

import mylsm-lsm-store@0.6.0.1/src/transfer/Restore.bend as Restore
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

390def empty.header.magic.checked(input: Bytes.Bytes, valid: Bool) -> Bool:
391  match valid:
392    case False{}: False{}
393    case True{}: empty.header.version(Bytes.get.u32be(input, 8))

Uses (4)

Used by (1)