def sized.result
import mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend as OptionsCodecimport Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
184def sized.result(input: Bytes.Bytes, valid: Bool) -> Decision:
185 match valid:
186 case False{}: Malformed{}
187 case True{}:
188 magic.matches(ByteMemTable.bytes.clone(input))