class BinaryDeserializer (Niantic.ARDK.Utilities.BinarySerialization.BinaryDeserializer)
Overview
Class used to deserialize objects that were serialized using the BinarySerializer class. More…
class BinaryDeserializer: Niantic.ARDK.Utilities.BinarySerialization.BinarySerializerOrDeserializer { public: // methods BinaryDeserializer(Stream stream); object Deserialize(); virtual override void Dispose(); };
Inherited Members
public: // properties Stream Stream; // methods virtual void Dispose(); T GetContext< T >();
Detailed Documentation
Class used to deserialize objects that were serialized using the BinarySerializer class.
Methods
BinaryDeserializer(Stream stream)
Creates a new BinaryDeserializer that uses the given Stream to read the data to deserialize.
object Deserialize()
Deserializes an object from the Stream this deserializer is bound to. The deserialization can throw if the Stream is closed, if there’s no more data to read or if the Stream data is just corrupted.
virtual override void Dispose()
Releases resources used by this serializer or deserializer. This does not dispose the stream.