def sized.result

mylsm-lsm-store@0.6.0.1 · src/coordinator/OptionsCodec.bend:184

import mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend as OptionsCodec
import 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))

Uses (5)

Used by (1)