def snapshot.get.header.result
import mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend as Operationimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
177def snapshot.get.header.result(
178 payload: Bytes.Bytes,
179 snapshot_id: U32,
180 length: U32,
181 has_header: Bool
182) -> Decision:
183 match has_header:
184 case True{}: snapshot.get.decoded(payload, snapshot_id, length)
185 case False{}: MalformedArguments{}