CmisSync.Lib.Streams.BandwidthNotifyingStream.Read C# (CSharp) Method

Read() public method

Read the specified buffer, offset and count.
public Read ( byte buffer, int offset, int count ) : int
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
return int
        public override int Read(byte[] buffer, int offset, int count) {
            int result = this.Stream.Read(buffer, offset, count);
            this.CalculateBandwidth(result);
            return result;
        }