blob: 2df616ab8c34ca38ed2d5e1c0a209d8445d746a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.RemoteDesktop
{
/// <summary>
/// Represents an <see cref="IFrame"/> encoder.
/// </summary>
public interface IFrameEncoder
{
/// <summary>
/// Gets the frame instance.
/// </summary>
IFrame Frame { get; }
/// <summary>
/// Returns a byte array containing the encoded frame.
/// </summary>
/// <returns></returns>
byte[] ToArray();
/// <summary>
/// Returns a stream containing the encoded frame.
/// </summary>
/// <returns></returns>
MemoryStream ToStream();
}
}
|