C# Class SocketServers.StreamBuffer

Inheritance: IDisposable
Exibir arquivo Open project: vf1/serversockets Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
CopyFrom ( SecBufferEx secBuffer ) : bool
Create ( ) : void

Method Details

AddCount() public method

public AddCount ( int offset ) : void
offset int
return void

Clear() public method

public Clear ( ) : void
return void

CopyFrom() public method

public CopyFrom ( ArraySegment segmnet ) : bool
segmnet ArraySegment
return bool

CopyFrom() public method

public CopyFrom ( ArraySegment segment1, int skipBytes ) : bool
segment1 ArraySegment
skipBytes int
return bool

CopyFrom() public method

public CopyFrom ( byte array, int offset, int count ) : bool
array byte
offset int
count int
return bool

CopyTransferredFrom() public method

public CopyTransferredFrom ( ServerAsyncEventArgs e, int skipBytes ) : bool
e ServerAsyncEventArgs
skipBytes int
return bool

Detach() public method

public Detach ( ) : ArraySegment
return ArraySegment

Dispose() public method

public Dispose ( ) : void
return void

Free() public method

public Free ( ) : void
return void

MoveToBegin() public method

public MoveToBegin ( int offsetOffset ) : void
offsetOffset int
return void

MoveToBegin() public method

public MoveToBegin ( int offsetOffset, int count ) : void
offsetOffset int
count int
return void

Resize() public method

public Resize ( int capacity ) : bool
capacity int
return bool