C# Class XG.Plugin.Irc.ThrottledStream

Inheritance: Stream
Afficher le fichier Open project: lformella/xdcc-grabscher Class Usage Examples

Méthodes publiques

Méthode Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
ThrottledStream ( Stream baseStream ) : System
ThrottledStream ( Stream baseStream, long maximumBytesPerSecond ) : System
ToString ( ) : string
Write ( byte buffer, int offset, int count ) : void

Méthodes protégées

Méthode Description
Reset ( ) : void
Throttle ( int bufferSizeInBytes ) : void

Method Details

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

Reset() protected méthode

protected Reset ( ) : void
Résultat void

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

Throttle() protected méthode

protected Throttle ( int bufferSizeInBytes ) : void
bufferSizeInBytes int
Résultat void

ThrottledStream() public méthode

public ThrottledStream ( Stream baseStream ) : System
baseStream Stream
Résultat System

ThrottledStream() public méthode

public ThrottledStream ( Stream baseStream, long maximumBytesPerSecond ) : System
baseStream Stream
maximumBytesPerSecond long
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Write() public méthode

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