using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.RemoteDesktop { /// /// Represents an encoder. /// public interface IFrameEncoder { /// /// Gets the frame instance. /// IFrame Frame { get; } /// /// Returns a byte array containing the encoded frame. /// /// byte[] ToArray(); /// /// Returns a stream containing the encoded frame. /// /// MemoryStream ToStream(); } }