BrotliStream.Flush Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If the stream is not disposed, and the compression mode is set to compress, writes all the remaining encoder's data into this stream.
public:
 override void Flush();public override void Flush();override this.Flush : unit -> unitPublic Overrides Sub Flush ()Exceptions
The encoder ran into invalid data.
The stream is disposed.