Interface IPayloadPacket
- Namespace
- VpnHood.Net.Packets
- Assembly
- VpnHood.Net.Packets.dll
Represents a packet carried in the payload of an IP packet, such as a TCP segment or a UDP datagram.
public interface IPayloadPacket
Properties
Buffer
Gets the packet's bytes, header and payload. When the packet is an IP packet's payload, they are that packet's own bytes, not a copy, and live only as long as its memory.
Memory<byte> Buffer { get; }