def footer.bytes.hashed
mylsm-lsm-store@0.6.0.1 · src/transfer/Backup.bend:268
import mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as Backup
import Base
import mylsm-lsm-store@0.6.0.1/src/hub_sha/sha256.bend as SHA
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
268def footer.bytes.hashed(
269 stream: Stream,
270 pair: Bytes.Bytes & Bytes.Bytes
271) -> Stream & Bytes.Bytes:
272 match pair:
273 case (output, hash_input):
274 footer.bytes.output(stream, output, SHA.sha256_packed_bytes(hash_input))