mirror of https://github.com/Radarr/Radarr
13 lines
235 B
C#
13 lines
235 B
C#
|
namespace MonoTorrent.Messages
|
||
|
{
|
||
|
interface IMessage
|
||
|
{
|
||
|
int ByteLength { get;}
|
||
|
|
||
|
byte[] Encode();
|
||
|
int Encode(byte[] buffer, int offset);
|
||
|
|
||
|
void Decode(byte[] buffer, int offset, int length);
|
||
|
}
|
||
|
}
|