메소드 | 설명 | |
---|---|---|
BandwidthNotifyingStream ( Stream s ) : System | ||
Close ( ) : void |
Close this instance and calculates the bandwidth of the last second.
|
|
Read ( byte buffer, int offset, int count ) : int |
Read the specified buffer, offset and count.
|
|
Write ( byte buffer, int offset, int count ) : void |
Write the specified buffer, offset and count.
|
메소드 | 설명 | |
---|---|---|
CalcBitsPerSecond ( System.DateTime start, System.DateTime end, long bytes ) : long |
Calculates the bits per second.
|
|
CalculateBandwidth ( int transmittedBytes ) : void |
Calculates the bandwidth.
|
public BandwidthNotifyingStream ( Stream s ) : System | ||
s | Stream | |
리턴 | System |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | /// Buffer. /// |
offset | int | /// Offset. /// |
count | int | /// Count. /// |
리턴 | int |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | /// Buffer. /// |
offset | int | /// Offset. /// |
count | int | /// Count. /// |
리턴 | void |