public override void FlushBuffer()
 {
     _stream.Write(Buf, 0, Pos, _ofs);
     _stream.Flush();
     _ofs += (ulong)Pos;
     Pos   = 0;
 }
 public void Flush()
 {
     Log("flushing stream");
     _positionLessStream.Flush();
 }