/// <summary>
        /// Flushes any buffered data to the underlying stream (if there is one).
        /// </summary>
        public void Flush()
        {
            var span = new Span <byte>(buffer);

            WriteBufferHelper.Flush(ref span, ref state);
        }
Exemple #2
0
 internal void Flush()
 {
     WriteBufferHelper.Flush(ref buffer, ref state);
 }