public override void Write(byte[] buffer, int offset, int count) { lock (this) { if (count == 0) { return; } _writer.WriteBlock(buffer, offset, count, true); _writePosition += count; } }
protected override void WriteInternal(byte[] buffer, int offset, int count) { writer.WriteBlock(buffer, offset, count, false); }