def footer.bytes

mylsm-lsm-store@0.6.0.1 · src/transfer/Backup.bend:300

import mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as Backup
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

300def footer.bytes(stream: Stream) -> Stream & Bytes.Bytes:
301  match stream:
302    case Stream{Footer{}, entries, entry_count, block_count, block_index}:
303      footer.bytes.counts(entries, u32.duplicate.pair(entry_count),
304        u32.duplicate.pair(block_count), block_index)
305    case _: (stream, Bytes.new(0))

Uses (8)

Used by (3)