C# Class TLSharp.Core.Network.TcpMessage

Exibir arquivo Open project: sochix/TLSharp Class Usage Examples

Public Methods

Method Description
Decode ( byte body ) : TcpMessage
Encode ( ) : byte[]
TcpMessage ( int seqNumber, byte body ) : System

Method Details

Decode() public static method

public static Decode ( byte body ) : TcpMessage
body byte
return TcpMessage

Encode() public method

public Encode ( ) : byte[]
return byte[]

TcpMessage() public method

public TcpMessage ( int seqNumber, byte body ) : System
seqNumber int
body byte
return System