C# Class YurikoCS.EncapsulationHelper

Exibir arquivo Open project: ItalianDevs4PM/Yuriko-CS Class Usage Examples

Public Methods

Method Description
Decode ( byte data ) : EncapsulationHelper
Encode ( byte data ) : EncapsulationHelper
Encode ( byte data, byte encapsulationFormat ) : EncapsulationHelper
Encode ( byte data, byte encapsulationFormat, Triad packetCount ) : EncapsulationHelper
Encode ( byte data, byte encapsulationFormat, Triad packetCount, byte customPacket ) : EncapsulationHelper
GetCustomPacketID ( ) : byte
GetData ( ) : byte[]
GetEncapsulationFormat ( ) : byte
GetPacketCount ( ) : Triad
GetPacketCount2 ( ) : Triad
GetPacketID ( ) : byte
GetPacketLength ( ) : short
IsDecode ( ) : bool

Private Methods

Method Description
EncapsulationHelper ( ) : System
GeneratePayload ( ) : void

Method Details

Decode() public static method

public static Decode ( byte data ) : EncapsulationHelper
data byte
return EncapsulationHelper

Encode() public static method

public static Encode ( byte data ) : EncapsulationHelper
data byte
return EncapsulationHelper

Encode() public static method

public static Encode ( byte data, byte encapsulationFormat ) : EncapsulationHelper
data byte
encapsulationFormat byte
return EncapsulationHelper

Encode() public static method

public static Encode ( byte data, byte encapsulationFormat, Triad packetCount ) : EncapsulationHelper
data byte
encapsulationFormat byte
packetCount Triad
return EncapsulationHelper

Encode() public static method

public static Encode ( byte data, byte encapsulationFormat, Triad packetCount, byte customPacket ) : EncapsulationHelper
data byte
encapsulationFormat byte
packetCount Triad
customPacket byte
return EncapsulationHelper

GetCustomPacketID() public method

public GetCustomPacketID ( ) : byte
return byte

GetData() public method

public GetData ( ) : byte[]
return byte[]

GetEncapsulationFormat() public method

public GetEncapsulationFormat ( ) : byte
return byte

GetPacketCount() public method

public GetPacketCount ( ) : Triad
return Triad

GetPacketCount2() public method

public GetPacketCount2 ( ) : Triad
return Triad

GetPacketID() public method

public GetPacketID ( ) : byte
return byte

GetPacketLength() public method

public GetPacketLength ( ) : short
return short

IsDecode() public method

public IsDecode ( ) : bool
return bool