C# Class Yodiwo.StatisticsStream

Inheritance: Stream
Mostra file Open project: yodiwo/plegma

Public Properties

Property Type Description
BaseStream Stream
LeaveOpen bool
TotalBytesRead System.Int64
TotalBytesWritten System.Int64

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
StatisticsStream ( Stream Stream, bool LeaveOpen ) : System
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
updateRxMetrics ( System.Int64 rxBytes ) : long
updateTxMetrics ( System.Int64 txBytes ) : long

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() protected method

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

Flush() public method

public Flush ( ) : void
return void

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 value ) : void
value long
return void

StatisticsStream() public method

public StatisticsStream ( Stream Stream, bool LeaveOpen ) : System
Stream Stream
LeaveOpen bool
return System

Write() public method

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

Property Details

BaseStream public_oe property

public Stream BaseStream
return Stream

LeaveOpen public_oe property

public bool LeaveOpen
return bool

TotalBytesRead public_oe property

public Int64,System TotalBytesRead
return System.Int64

TotalBytesWritten public_oe property

public Int64,System TotalBytesWritten
return System.Int64