def empty.header.magic.checked
import mylsm-lsm-store@0.6.0.1/src/transfer/Restore.bend as Restoreimport 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))