C# Class Telegram.MTProto.TelegramEndpoint

ファイルを表示 Open project: naphaso/kilogram Class Usage Examples

Public Methods

Method Description
TelegramEndpoint ( BinaryReader reader ) : System
TelegramEndpoint ( string host, int port ) : System
ToString ( ) : string
read ( BinaryReader reader ) : void
write ( BinaryWriter writer ) : void

Method Details

TelegramEndpoint() public method

public TelegramEndpoint ( BinaryReader reader ) : System
reader System.IO.BinaryReader
return System

TelegramEndpoint() public method

public TelegramEndpoint ( string host, int port ) : System
host string
port int
return System

ToString() public method

public ToString ( ) : string
return string

read() public method

public read ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

write() public method

public write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void