C# Class PacketProtocol.Packet

Mostrar archivo Open project: voltrue2/gracenode

Public Methods

Method Description
Create ( short commandId, short sequence, byte payload ) : byte[]
Parse ( byte packet ) : ParsedPacketData

Method Details

Create() public static method

public static Create ( short commandId, short sequence, byte payload ) : byte[]
commandId short
sequence short
payload byte
return byte[]

Parse() public static method

public static Parse ( byte packet ) : ParsedPacketData
packet byte
return ParsedPacketData