C# Class XG.Plugin.Irc.ThrottledStream

Inheritance: Stream
Mostra file Open project: lformella/xdcc-grabscher Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Reset ( ) : void
Throttle ( int bufferSizeInBytes ) : void

Method Details

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

Reset() protected method

protected Reset ( ) : void
return void

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

Throttle() protected method

protected Throttle ( int bufferSizeInBytes ) : void
bufferSizeInBytes int
return void

ThrottledStream() public method

public ThrottledStream ( Stream baseStream ) : System
baseStream Stream
return System

ThrottledStream() public method

public ThrottledStream ( Stream baseStream, long maximumBytesPerSecond ) : System
baseStream Stream
maximumBytesPerSecond long
return System

ToString() public method

public ToString ( ) : string
return string

Write() public method

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