OptionsCodec.encode.readers: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend as OptionsCodec Lines 39-46 of mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend&start_line=39&end_line=46 import Base import mylsm-lsm-store@0.6.0.1/src/ResourceOptions.bend as ResourceOptions import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def encode.readers(limits: ResourceOptions.ReaderLimits) -> Bytes.Bytes: match limits: case ResourceOptions.ReaderLimits{snapshots, cursors, cursors_per_snapshot, retained_root_bytes, retired_files, index_page_bytes, index_buffer_bytes, restore_bytes}: Bytes.concat([word(snapshots), word(cursors), word(cursors_per_snapshot), word(retained_root_bytes), word(retired_files), word(index_page_bytes), word(index_buffer_bytes), word(restore_bytes)]) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=concat https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ResourceOptions.bend&name=ReaderLimits https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend&name=word