'Declaration
Function CreatePacket( _ ByVal definition As PacketDefinition, _ ByVal reader As IFieldReader _ ) As IPacket
IPacket CreatePacket( PacketDefinition definition, IFieldReader reader )
Parameters
- definition
- Definition of the fields expected in the next packet
- reader
- Data stream to be read
Return Value
An IPacket corresponding to the PacketDefinition and the stream data