public void Sync() { if (Listener != null) { Listener.OnSync(); } }
/// <summary> /// Flushes the stream (subject to the NoFlush property) /// </summary> public void Sync() { if (NoFlush == false) { stream.Flush(); } if (Listener != null) { Listener.OnSync(); } }