I just have an int before the array that indicates its size. Use that as the counter for the loop in the deseralization. I keep thinking this approach shouldn’t work but it’s really straight forward. But each game/dev is different so take it with a grain of salt.
Comments