def magic.from_hex
import mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend as Protocolimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
100def magic.from_hex(value: Maybe<&1, Bytes.Bytes>) -> Bytes.Bytes:
101 match value:
102 case Some{bytes}: bytes
103 case None{}: Bytes.new(0)