Ethereum State Channel Games — Part 1: State Serialization and Fastforward Consensus

Didn’t understand how you used the toUintArray function to convert all the data bytes to a uint array. state.board is of type address[], is of type uint and state.players is again address. How does the datatype address of 20 bytes equivalent to uint32 type? Would the pseudocode be same if the game state contained a uint256 or some other type?