C# Class MySql.Data.MySqlClient.MySqlPacket

ファイルを表示 Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
MySqlPacket ( Encoding enc ) : System
MySqlPacket ( MemoryStream stream ) : System
Read ( byte byteBuffer, int offset, int count ) : int
Read3ByteInt ( ) : int
ReadAsciiString ( long length ) : string
ReadBitValue ( int numbytes ) : ulong
ReadByte ( ) : byte
ReadFieldLength ( ) : long
ReadInteger ( int numbytes ) : int
ReadLenString ( ) : string
ReadLong ( int numbytes ) : long
ReadNBytes ( ) : int
ReadPackedInteger ( ) : int
ReadString ( ) : string
ReadString ( Encoding theEncoding ) : string
ReadString ( long length ) : string
ReadULong ( int numbytes ) : ulong
Write ( byte bytesToWrite ) : void
Write ( byte bytesToWrite, int offset, int countToWrite ) : void
WriteByte ( byte b ) : void
WriteInteger ( long v, int numbytes ) : void

WriteInteger

WriteLenString ( string s ) : void
WriteLength ( long length ) : void
WriteString ( string v ) : void
WriteStringNoNull ( string v ) : void

Private Methods

Method Description
MySqlPacket ( ) : System

Method Details

Clear() public method

public Clear ( ) : void
return void

MySqlPacket() public method

public MySqlPacket ( Encoding enc ) : System
enc System.Text.Encoding
return System

MySqlPacket() public method

public MySqlPacket ( MemoryStream stream ) : System
stream System.IO.MemoryStream
return System

Read() public method

public Read ( byte byteBuffer, int offset, int count ) : int
byteBuffer byte
offset int
count int
return int

Read3ByteInt() public method

public Read3ByteInt ( ) : int
return int

ReadAsciiString() public method

public ReadAsciiString ( long length ) : string
length long
return string

ReadBitValue() public method

public ReadBitValue ( int numbytes ) : ulong
numbytes int
return ulong

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadFieldLength() public method

public ReadFieldLength ( ) : long
return long

ReadInteger() public method

public ReadInteger ( int numbytes ) : int
numbytes int
return int

ReadLenString() public method

public ReadLenString ( ) : string
return string

ReadLong() public method

public ReadLong ( int numbytes ) : long
numbytes int
return long

ReadNBytes() public method

public ReadNBytes ( ) : int
return int

ReadPackedInteger() public method

public ReadPackedInteger ( ) : int
return int

ReadString() public method

public ReadString ( ) : string
return string

ReadString() public method

public ReadString ( Encoding theEncoding ) : string
theEncoding System.Text.Encoding
return string

ReadString() public method

public ReadString ( long length ) : string
length long
return string

ReadULong() public method

public ReadULong ( int numbytes ) : ulong
numbytes int
return ulong

Write() public method

public Write ( byte bytesToWrite ) : void
bytesToWrite byte
return void

Write() public method

public Write ( byte bytesToWrite, int offset, int countToWrite ) : void
bytesToWrite byte
offset int
countToWrite int
return void

WriteByte() public method

public WriteByte ( byte b ) : void
b byte
return void

WriteInteger() public method

WriteInteger
public WriteInteger ( long v, int numbytes ) : void
v long
numbytes int
return void

WriteLenString() public method

public WriteLenString ( string s ) : void
s string
return void

WriteLength() public method

public WriteLength ( long length ) : void
length long
return void

WriteString() public method

public WriteString ( string v ) : void
v string
return void

WriteStringNoNull() public method

public WriteStringNoNull ( string v ) : void
v string
return void