Interface IPacketReader
Interface for packet readers.
Namespace: Fibula.Communications.Contracts.Abstractions
Assembly: Fibula.Communications.Contracts.dll
Syntax
public interface IPacketReader
Methods
| Improve this Doc View SourceReadFromMessage(INetworkMessage)
Reads a packet from the given INetworkMessage.
Declaration
IIncomingPacket ReadFromMessage(INetworkMessage message)
Parameters
Type | Name | Description |
---|---|---|
INetworkMessage | message | The message to read from. |
Returns
Type | Description |
---|---|
IIncomingPacket | The packet read from the message. |