def snapshot.close.decode
import mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend as Operationimport Base
import mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend as Protocol
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
220# Rejects truncated and extended close-token payloads.
221def snapshot.close.decode(payload: Bytes.Bytes) -> Decision:
222 snapshot.close.decision(Protocol.snapshot.id.read(payload))