ReadPacketDefinition Method
Returns a PacketDefinition from the stream (including nested PacketDefinition objects for cases in which an IPacket is subclassed and has serialized state at multiple levels).
public static PacketDefinition ReadPacketDefinition(
IFieldReader
)
'Declaration
Public Shared Function ReadPacketDefinition( _
ByVal As IFieldReader _
) As PacketDefinition
Parameters
- reader
- Stream to read data from
Return Value
PacketDefinition (including nested definitions for subclassed packets)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2