Wal.frame.bound.length: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Wal Lines 532-539 of mylsm-lsm-store@0.6.0.1/src/Wal.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/Wal.bend&start_line=532&end_line=539 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def frame.bound.length( pair: Bytes.Cursor & Maybe<&2, U32> ) -> Result<&1, &1, Error, Batch>: match pair: case (_, None{}): Fail{Malformed{}} case (cursor, Some{+frame_len}): frame.bound.end(cursor, frame_len) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Wal.bend&name=Batch https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Wal.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Wal.bend&name=frame.bound.end