public override void WriteBlock(byte[] data, int offset, int length)
{
if (length < Buf.Length)
{
base.WriteBlock(data, offset, length);
return;
}
FlushBuffer();
lock (_file._lock)
{
_file._stream.Position = (long)Ofs;
_file._stream.Write(data, offset, length);
Ofs += (ulong)length;
}
}