Click or drag to resize

Packet Methods

The Packet type exposes the following members.

Methods
  NameDescription
Public methodClear
Clears this instance.
Public methodCopyFrom(Packet)
Resets the data in the packet using the data from the specified packet.
Public methodCopyFrom(Stream, Int64, Boolean)
Resets the data in the packet using the specified stream.
Public methodCopyFrom(Byte, Int32, Int64, Boolean)
Resets the data in the packet using the specified data.
Public methodCopyTo
Copies the packet's data to the specified buffer.
Public methodEquals
Compares this Packet with another object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a hash code for this object.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Reads packet data from a BinaryReader.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Writes the packet to the specified BinaryWriter.
Public methodWriteDataOnly
Writes the packet data, without any header, to the specified Stream.
Top
See Also