CursorCodec.decode.measured: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend as CursorCodec Lines 368-371 of mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend&start_line=368&end_line=371 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Decodes a complete cursor response, rejecting unknown tags and trailing data. def decode.measured(measured: Bytes.Bytes & U32) -> Decision: match measured: case (payload, size): decode.size.checked(payload, u32.duplicate(size)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma 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/coordinator/CursorCodec.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend&name=decode.size.checked https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend&name=u32.duplicate