CmisSync.Lib.Streams.PausableStream.Write C# (CSharp) Метод

Write() публичный Метод

Write the specified buffer, offset and count.
public Write ( byte buffer, int offset, int count ) : void
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
Результат void
        public override void Write(byte[] buffer, int offset, int count) {
            // for it may be chained before CryptoStream, we should write the content for CryptoStream has calculated the hash of the content
            this.Stream.Write(buffer, offset, count);

            // Pause here
            this.waitHandle.Wait(this.cancelToken);
        }