Method | Description | |
---|---|---|
PacketManager ( byte headerPattern, byte trailerPattern ) : System | ||
WriteNewData ( byte buf ) : void |
Method | Description | |
---|---|---|
GetContentSize ( byte buf, int size ) : int? | ||
RaisePacketReceived ( byte packetData, int size ) : void | ||
Reset ( ) : void |
Method | Description | |
---|---|---|
KillBufferStart ( int bytesToKill ) : void |
protected abstract GetContentSize ( byte buf, int size ) : int? | ||
buf | byte | |
size | int | |
return | int? |
public PacketManager ( byte headerPattern, byte trailerPattern ) : System | ||
headerPattern | byte | |
trailerPattern | byte | |
return | System |
protected RaisePacketReceived ( byte packetData, int size ) : void | ||
packetData | byte | |
size | int | |
return | void |