Packet Methods |
The Packet type exposes the following members.
| Name | Description | |
|---|---|---|
| Clear | Clears this instance. | |
| CopyFrom(Packet) | Resets the data in the packet using the data from the specified packet. | |
| CopyFrom(Stream, Int64, Boolean) | Resets the data in the packet using the specified stream. | |
| CopyFrom(Byte, Int32, Int64, Boolean) | Resets the data in the packet using the specified data. | |
| CopyTo | Copies the packet's data to the specified buffer. | |
| Equals |
Compares this Packet with another object.
(Overrides ObjectEquals(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 |
Gets a hash code for this object.
(Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Read | Reads packet data from a BinaryReader. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Write | Writes the packet to the specified BinaryWriter. | |
| WriteDataOnly | Writes the packet data, without any header, to the specified Stream. |