Returns the most recently cached partial packet and removes it from the cache.
Used to more efficiently utilise allocated memory space.
Namespace: NetworkCommsDotNet.ToolsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- lastPacketBytesRead
- Type: System Int32
The number of valid bytes in the last partial packet added
Return Value
Type: ByteA byte[] corresponding with the last added partial packet
See Also