Wal.frame.payload: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Wal Lines 306-314 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=306&end_line=314 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def frame.payload( +count: U32, records: Result<&1, &1, Error, List<&1, Bytes.Bytes>> ) -> Result<&1, &1, Error, Bytes.Bytes>: match records: case Fail{error}: Fail{error} case Done{parts}: frame.payload.size(count, bytes.clone.split(Bytes.concat(parts))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result 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=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/Wal.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Wal.bend&name=bytes.clone.split https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/Wal.bend&name=frame.payload.size