def hex.decoded.result
import mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend as OptionsCodecimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
203def hex.decoded.result(bytes: Bytes.Bytes, canonical: Bool) -> Decision:
204 match canonical:
205 case True{}: decode(bytes)
206 case False{}: Malformed{}