C# Класс SocketServers.StreamBuffer

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddCount ( int offset ) : void
Clear ( ) : void
CopyFrom ( ArraySegment segmnet ) : bool
CopyFrom ( ArraySegment segment1, int skipBytes ) : bool
CopyFrom ( byte array, int offset, int count ) : bool
CopyTransferredFrom ( ServerAsyncEventArgs e, int skipBytes ) : bool
Detach ( ) : ArraySegment
Dispose ( ) : void
Free ( ) : void
MoveToBegin ( int offsetOffset ) : void
MoveToBegin ( int offsetOffset, int count ) : void
Resize ( int capacity ) : bool

Приватные методы

Метод Описание
CopyFrom ( SecBufferEx secBuffer ) : bool
Create ( ) : void

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

AddCount() публичный Метод

public AddCount ( int offset ) : void
offset int
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

CopyFrom() публичный Метод

public CopyFrom ( ArraySegment segmnet ) : bool
segmnet ArraySegment
Результат bool

CopyFrom() публичный Метод

public CopyFrom ( ArraySegment segment1, int skipBytes ) : bool
segment1 ArraySegment
skipBytes int
Результат bool

CopyFrom() публичный Метод

public CopyFrom ( byte array, int offset, int count ) : bool
array byte
offset int
count int
Результат bool

CopyTransferredFrom() публичный Метод

public CopyTransferredFrom ( ServerAsyncEventArgs e, int skipBytes ) : bool
e ServerAsyncEventArgs
skipBytes int
Результат bool

Detach() публичный Метод

public Detach ( ) : ArraySegment
Результат ArraySegment

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Free() публичный Метод

public Free ( ) : void
Результат void

MoveToBegin() публичный Метод

public MoveToBegin ( int offsetOffset ) : void
offsetOffset int
Результат void

MoveToBegin() публичный Метод

public MoveToBegin ( int offsetOffset, int count ) : void
offsetOffset int
count int
Результат void

Resize() публичный Метод

public Resize ( int capacity ) : bool
capacity int
Результат bool