Mylsm.Utf8.snapshot.scan_prefix.encoded: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 2466-2478 of mylsm-lsm-store@0.6.0.1/mylsm.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&start_line=2466&end_line=2478 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as PackedBytes def Utf8.snapshot.scan_prefix.encoded( snapshot: Bytes.Snapshot, encoded: Result<&1, &1, Utf8.Error, PackedBytes.Bytes> ) -> IO(Utf8.Snapshot & Result<&1, &1, Utf8.Error, Utf8.Cursor>): match encoded: case Fail{error}: IO.pure(Utf8.Snapshot & Result<&1, &1, Utf8.Error, Utf8.Cursor>, (Utf8Snapshot{snapshot}, Fail{error})) case Done{bytes}: do IO>: pair : Bytes.Snapshot & Result<&1, &1, Bytes.Error, Bytes.Cursor> <- Bytes.snapshot.scan_prefix(snapshot, bytes) return Utf8.snapshot.prefix.opened(pair) Uses (15): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma 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=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Snapshot https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.snapshot.scan_prefix https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.Snapshot https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.snapshot.prefix.opened