ByteRange.has_prefix: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend as ByteRange Lines 127-129 of mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend&start_line=127&end_line=129 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Checks whether a byte key begins with the exact byte prefix. def has_prefix(key: Bytes.Bytes, prefix: Bytes.Bytes) -> Bool: prefix.lengths(Bytes.length(key), Bytes.length(prefix)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=length https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend&name=prefix.lengths