I'm curious how you tell if there are objects left in a stream when you are deserializing objects.
is the .available() method the only way? it indicates bytes but I guess if bytes is > 0 then there should be data left for sure eh?
Only one data type is being serialized and put into the same file (many of them) but I don't know how many and must deserialize.
is the .available() method the only way? it indicates bytes but I guess if bytes is > 0 then there should be data left for sure eh?
Only one data type is being serialized and put into the same file (many of them) but I don't know how many and must deserialize.