Snapshot.u32.duplicate.encoded: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot Lines 236-240 of mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&start_line=236&end_line=240 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def u32.duplicate.encoded(bytes: Bytes.Bytes) -> U32 & U32: match bytes: case Bytes.Bytes{+len, buf}: u32.clone.pair.buffers(len, Bytes.copy.bytes(len, buf, Bytes.alloc(len), 0, 0)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair 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=alloc https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=copy.bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=u32.clone.pair.buffers