![]() |
Initializes a new packet based on a native C packet. |
![]() | Gets a pointer to the packet data. |
![]() | Gets the packet flags. |
![]() | Returns true if the packet is initialized. |
![]() | Gets or sets the byte at the specified index. |
![]() | Gets the length of the packet. |
![]() | Gets or sets the native C packet. |
![]() | Gets or sets the reference count. If you want to keep a packet around that you are giving to ENet, increment this. When you are finished with it, decrement this and call Dispose(). |
![]() | 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. |
![]() |
![]() | Occurs when ENet is finished with a packet and it is about to be freed from memory. |
![]() | |
![]() |