def hex.decoded.result

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

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

Uses (4)

Used by (1)