FormatInspect.magic.from_hex: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend as FormatInspect Lines 29-35 of mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/FormatInspect.bend&start_line=29&end_line=35 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Converts a decoded hex literal to an owned buffer. def magic.from_hex(value: Maybe<&1, Bytes.Bytes>) -> Bytes.Bytes: match value: case Some{bytes}: bytes case None{}: Bytes.new(0) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=new