C# Класс Accord.CommunicationBufferEventArgs

Event arguments holding a buffer sent or received during some communication process.
Наследование: System.EventArgs
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CommunicationBufferEventArgs() публичный метод

Initializes a new instance of the CommunicationBufferEventArgs class.
public CommunicationBufferEventArgs ( byte message ) : System
message byte Message being transfered during communication process.
Результат System

CommunicationBufferEventArgs() публичный метод

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.
Результат System

GetMessage() публичный метод

Get the transfered message.
public GetMessage ( ) : byte[]
Результат byte[]

GetMessageString() публичный метод

Get the transferred message as string.
public GetMessageString ( ) : string
Результат string