Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 internal void Flush()
 {
     WriteBufferHelper.Flush(ref buffer, ref state);
 }