C# Class Akka.Interfaced.SlimSocket.Server.HeadTailWriteStream

Inheritance: Stream
Exibir arquivo Open project: SaladLab/Akka.Interfaced.SlimSocket Class Usage Examples

Public Methods

Method Description
Flush ( ) : void
GetBuffers ( int pos, int length, ArraySegment &segment0, ArraySegment &segment1 ) : void
HeadTailWriteStream ( ArraySegment head, int tailSize ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long length ) : void
Write ( byte buffer, int offset, int count ) : void

Private Methods

Method Description
EnsureCapacity ( int size ) : void

Method Details

Flush() public method

public Flush ( ) : void
return void

GetBuffers() public method

public GetBuffers ( int pos, int length, ArraySegment &segment0, ArraySegment &segment1 ) : void
pos int
length int
segment0 ArraySegment
segment1 ArraySegment
return void

HeadTailWriteStream() public method

public HeadTailWriteStream ( ArraySegment head, int tailSize ) : System
head ArraySegment
tailSize int
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long length ) : void
length long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void