The PacketBuilder type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
AddPartialPacket |
Add a partial packet to the end of the cache by reference.
| |
ClearNTopBytes |
Clear N bytes from cache, starting with oldest bytes first.
| |
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.) | |
FirstByte |
Returns the value of the first cached byte.
| |
GetAllData |
Copies all cached bytes into a single array and returns. Original data is left unchanged.
| |
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.) | |
NumUnusedBytesMostRecentPartialPacket |
Returns the number of unused bytes in the most recently cached partial packet.
| |
ReadDataSection |
Copies the requested cached bytes into a single array and returns. Original data is left unchanged.
| |
RemoveMostRecentPartialPacket |
Returns the most recently cached partial packet and removes it from the cache.
Used to more efficiently utilise allocated memory space.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also