BlockIndexFormatPolicy.index_offset: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexFormatPolicy.bend as BlockIndexFormatPolicy Lines 27-29 of mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexFormatPolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexFormatPolicy.bend&start_line=27&end_line=29 import Base # Locates the index from the index length retained in the extended footer. def index_offset(file_size: Nat, index_length: Nat) -> Nat: Nat.sub(file_size, Nat.add(footer_bytes(), index_length)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockIndexFormatPolicy.bend&name=footer_bytes