The methods of the Packet structure are listed below. For a complete list of Packet structure members, see the Packet Members topic.
![]() | Adds a byte to the end of the packet. |
![]() | Sets the packet length to zero. |
![]() | Checks if the packet contains a particular byte. |
![]() | Overloaded. Copies part of the packet data into an array. |
![]() | Destroys the ENet packet. |
![]() | Overloaded. |
![]() | Gets all bytes of the packet data. |
![]() | Returns an enumerator that iterates through the bytes of the packet. |
![]() | |
![]() | |
![]() | Overloaded. Gets the user data associated with this packet. |
![]() | Checks if the packet contains a particular byte, and if so, returns the index. |
![]() | Overloaded. Initializes a new packet. |
![]() | Inserts a byte in the packet. |
![]() | Removes the first byte in the packet with the specified value. |
![]() | Removes the byte at the specified index from the packet. |
![]() | Resizes the packet. |
![]() | Overloaded. Associates user data with this packet. |
![]() |
![]() | |
![]() |