The Packet type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
Deserialize(Stream) |
Deserializes from a Stream to the current IExplicitlySerialize object
| |
Deserialize(Stream, Packet ) |
Deserializes from a memory stream to a Packet object
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerialiseHeader |
Returns the serialised bytes of the packet header appended by the serialised header size. This is required to
rebuild the header on receive.
| |
Serialize |
Serializes the current IExplicitlySerialize object to the provided Stream | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also