decode method

  1. @override
SyncState decode(
  1. Input input
)
override

Implementation

@override
SyncState decode(Input input) {
  return SyncState(
    startingBlock: numberCodec.decode(input),
    currentBlock: numberCodec.decode(input),
    highestBlock: numberCodec.decode(input),
  );
}