Méthode | Description | |
---|---|---|
BandwidthLimitedStream ( Stream s ) : System |
Initializes a new instance of the CmisSync.Lib.Streams.BandwidthLimitedStream class.
|
|
BandwidthLimitedStream ( Stream s, long limit ) : System |
Initializes a new instance of the CmisSync.Lib.Streams.BandwidthLimitedStream class.
|
|
DisableLimits ( ) : void |
Disables the limits.
|
|
DisableReadLimit ( ) : void |
Disables the read limit.
|
|
DisableWriteLimit ( ) : void |
Disables the write limit.
|
|
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.
|
Méthode | Description | |
---|---|---|
Init ( ) : void |
Init this instance.
|
public BandwidthLimitedStream ( Stream s ) : System | ||
s | Stream | /// The stream instance, which should be limited. /// |
Résultat | System |
public BandwidthLimitedStream ( Stream s, long limit ) : System | ||
s | Stream | /// The stream instance, which should be limited. /// |
limit | long | /// Up and download limit. /// |
Résultat | System |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | /// Target buffer. /// |
offset | int | /// Offset. /// |
count | int | /// Count of bytes. /// |
Résultat | int |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | /// Buffer. /// |
offset | int | /// Offset. /// |
count | int | /// Count. /// |
Résultat | void |