Esempio n. 1
0
        public override void Write(byte[] buffer, int offset, int count)
        {
            lock (this)
            {
                if (count == 0)
                {
                    return;
                }

                _writer.WriteBlock(buffer, offset, count, true);

                _writePosition += count;
            }
        }
Esempio n. 2
0
 protected override void WriteInternal(byte[] buffer, int offset, int count)
 {
     writer.WriteBlock(buffer, offset, count, false);
 }