ByteBlockReader.RouteState: type of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader Lines 80-96 of mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend&start_line=80&end_line=96 import Base import mylsm-lsm-store@0.6.0.1/src/SstStreamIo.bend as SstStreamIo import mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend as BlockRoutePolicy import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Carries each positional read through the separator-search state machine. type RouteState is Type: RouteNeed{file: File, state: State, context: RouteContext, key: Bytes.Bytes, search: BlockRoutePolicy.Search} RouteSelect{reader: Reader, block: Nat} RouteRecordRead{pair: File & Result<&1, &1, U32 & String, SstStreamIo.ExactResult>, state: State, context: RouteContext, key: Bytes.Bytes, search: BlockRoutePolicy.Search, mid: Nat} RouteSeparatorNeed{file: File, state: State, context: RouteContext, key: Bytes.Bytes, search: BlockRoutePolicy.Search, mid: Nat, offset: Nat, length: U32, separator_start: Nat} RouteSeparatorRead{pair: File & Result<&1, &1, U32 & String, SstStreamIo.ExactResult>, state: State, context: RouteContext, key: Bytes.Bytes, search: BlockRoutePolicy.Search, mid: Nat} RouteCompare{file: File, state: State, context: RouteContext, key: Bytes.Bytes, search: BlockRoutePolicy.Search, mid: Nat, separator: Bytes.Bytes} RouteFailed{file: File, error: U32 & String} Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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/src/SstStreamIo.bend&name=ExactResult https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend&name=Search https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend&name=Reader https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend&name=RouteContext https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend&name=State