C# Class Accord.CommunicationBufferEventArgs

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

Méthodes publiques

Méthode 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 méthode

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

CommunicationBufferEventArgs() public méthode

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.
Résultat System

GetMessage() public méthode

Get the transfered message.
public GetMessage ( ) : byte[]
Résultat byte[]

GetMessageString() public méthode

Get the transferred message as string.
public GetMessageString ( ) : string
Résultat string