def restore.block.open
import mylsm-lsm-store@0.6.0.1/src/transfer/Restore.bend as Restoreimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
734def restore.block.open(
735 input: Bytes.Bytes,
736 +offset: Nat,
737 expected_index: U32
738) -> Result<&1, &1, Error, BlockMeta>:
739 restore.block.open.result(restore.block.header(input, offset, expected_index))