C# Class Common.MessageBuffer

Inheritance: IDisposable
显示文件 Open project: FelCore/FelCore

Public Methods

Method Description
Data ( ) : byte[]
Dispose ( ) : void
Dispose ( bool disposing ) : void
EnsureFreeSpace ( ) : void
GetActiveSize ( ) : int
GetBufferSize ( ) : int
GetReadSpan ( int size ) : Span
GetRemainingSpace ( ) : int
MessageBuffer ( ) : Common.System
MessageBuffer ( MessageBuffer right ) : Common.System
MessageBuffer ( int initialSize ) : Common.System
Normalize ( ) : void
ReadCompleted ( int bytes ) : void
Reset ( ) : void
Resize ( int bytes ) : void
Rpos ( ) : int
Wpos ( ) : int
Write ( ReadOnlySpan data ) : void
WriteCompleted ( int bytes ) : void

Method Details

Data() public method

public Data ( ) : byte[]
return byte[]

Dispose() public method

public Dispose ( ) : void
return void

Dispose() public method

public Dispose ( bool disposing ) : void
disposing bool
return void

EnsureFreeSpace() public method

public EnsureFreeSpace ( ) : void
return void

GetActiveSize() public method

public GetActiveSize ( ) : int
return int

GetBufferSize() public method

public GetBufferSize ( ) : int
return int

GetReadSpan() public method

public GetReadSpan ( int size ) : Span
size int
return Span

GetRemainingSpace() public method

public GetRemainingSpace ( ) : int
return int

MessageBuffer() public method

public MessageBuffer ( ) : Common.System
return Common.System

MessageBuffer() public method

public MessageBuffer ( MessageBuffer right ) : Common.System
right MessageBuffer
return Common.System

MessageBuffer() public method

public MessageBuffer ( int initialSize ) : Common.System
initialSize int
return Common.System

Normalize() public method

public Normalize ( ) : void
return void

ReadCompleted() public method

public ReadCompleted ( int bytes ) : void
bytes int
return void

Reset() public method

public Reset ( ) : void
return void

Resize() public method

public Resize ( int bytes ) : void
bytes int
return void

Rpos() public method

public Rpos ( ) : int
return int

Wpos() public method

public Wpos ( ) : int
return int

Write() public method

public Write ( ReadOnlySpan data ) : void
data ReadOnlySpan
return void

WriteCompleted() public method

public WriteCompleted ( int bytes ) : void
bytes int
return void