Flushes a stream, optionally forcing writes to durable storage.
protected virtual void FlushStream(FileStream stream, bool flushToDisk)
The stream to flush.
Whether to force writes to durable storage.