Skip to content
Auto
Products

INetworkSerializer

Namespace: TagBites.Net
Assembly: TagBites.Net.dll
Product: TagBites.Net v. 1.0.3

Provides a mechanism for serialization/deserialization of network objects.

public interface INetworkSerializer

Deserializes object from stream.

public virtual object Deserialize(Stream stream, Type type)
  • stream Stream
    Stream with object data.
  • type Type
    Type of object to deserialize.

object

Deserialized object.

Serializes object to stream.

public virtual void Serialize(Stream stream, object value)
  • stream Stream
    Stream to write the serialized object.
  • value object
    Object to serialize.