C# Class NodeNetAsync.Db.Mysql.MysqlPacket

Mostra file Open project: soywiz/NodeNetAsync Class Usage Examples

Public Properties

Property Type Description
PacketNumber byte

Public Methods

Method Description
MysqlPacket ( Encoding Encoding, byte PacketNumber, byte ByteData = null ) : System
ReadLengthCodedBinary ( ) : byte[]
ReadLengthCodedString ( ) : String
ReadLengthCodedStringBytes ( ) : byte[]
ReadStringzMemoryStream ( ) : MemoryStream
Reset ( ) : void

Private Methods

Method Description
GetPacketBytes ( ) : byte[]

Method Details

MysqlPacket() public method

public MysqlPacket ( Encoding Encoding, byte PacketNumber, byte ByteData = null ) : System
Encoding System.Text.Encoding
PacketNumber byte
ByteData byte
return System

ReadLengthCodedBinary() public method

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

ReadLengthCodedString() public method

public ReadLengthCodedString ( ) : String
return String

ReadLengthCodedStringBytes() public method

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

ReadStringzMemoryStream() public method

public ReadStringzMemoryStream ( ) : MemoryStream
return System.IO.MemoryStream

Reset() public method

public Reset ( ) : void
return void

Property Details

PacketNumber public_oe property

public byte PacketNumber
return byte