C# Class BTool.CommParser

Mostra file Open project: x893/BTool

Public Methods

Method Description
CommParser ( ) : System
DeQueueData ( int length ) : void
EnQueueData ( byte data ) : void
GetDataSize ( ) : int
ParseData ( byte &type, ushort &opCode, ushort &eventOpCode, byte &length, byte &data ) : bool

Method Details

CommParser() public method

public CommParser ( ) : System
return System

DeQueueData() public method

public DeQueueData ( int length ) : void
length int
return void

EnQueueData() public method

public EnQueueData ( byte data ) : void
data byte
return void

GetDataSize() public method

public GetDataSize ( ) : int
return int

ParseData() public method

public ParseData ( byte &type, ushort &opCode, ushort &eventOpCode, byte &length, byte &data ) : bool
type byte
opCode ushort
eventOpCode ushort
length byte
data byte
return bool