C# Class Yodiwo.StatisticsStream

Inheritance: Stream
Afficher le fichier Open project: yodiwo/plegma

Méthodes publiques

Свойство Type Description
BaseStream Stream
LeaveOpen bool
TotalBytesRead System.Int64
TotalBytesWritten System.Int64

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
updateRxMetrics ( System.Int64 rxBytes ) : long
updateTxMetrics ( System.Int64 txBytes ) : long

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

StatisticsStream() public méthode

public StatisticsStream ( Stream Stream, bool LeaveOpen ) : System
Stream Stream
LeaveOpen bool
Résultat System

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

Property Details

BaseStream public_oe property

public Stream BaseStream
Résultat Stream

LeaveOpen public_oe property

public bool LeaveOpen
Résultat bool

TotalBytesRead public_oe property

public Int64,System TotalBytesRead
Résultat System.Int64

TotalBytesWritten public_oe property

public Int64,System TotalBytesWritten
Résultat System.Int64