C# Class Accord.CommunicationBufferEventArgs

Event arguments holding a buffer sent or received during some communication process.
Inheritance: System.EventArgs
Mostra file Open project: accord-net/framework

Public Methods

Method Description
CommunicationBufferEventArgs ( byte message ) : System

Initializes a new instance of the CommunicationBufferEventArgs class.

CommunicationBufferEventArgs ( byte buffer, int index, int length ) : System

Initializes a new instance of the CommunicationBufferEventArgs class.

GetMessage ( ) : byte[]

Get the transfered message.

GetMessageString ( ) : string

Get the transferred message as string.

Method Details

CommunicationBufferEventArgs() public method

Initializes a new instance of the CommunicationBufferEventArgs class.
public CommunicationBufferEventArgs ( byte message ) : System
message byte Message being transfered during communication process.
return System

CommunicationBufferEventArgs() public method

Initializes a new instance of the CommunicationBufferEventArgs class.
public CommunicationBufferEventArgs ( byte buffer, int index, int length ) : System
buffer byte Buffer containing the message being transferred during communication process.
index int Starting index of the message within the buffer.
length int Length of the message within the buffer.
return System

GetMessage() public method

Get the transfered message.
public GetMessage ( ) : byte[]
return byte[]

GetMessageString() public method

Get the transferred message as string.
public GetMessageString ( ) : string
return string