Property | Type | Description | |
---|---|---|---|
ReadFully | void |
Method | Description | |
---|---|---|
Close ( ) : void | ||
LoadPacket ( ) : void |
LoadPacket loads up and decodes the header of the incoming packet.
|
|
MySqlStream ( |
||
MySqlStream ( Stream baseStream, |
||
ReadPacket ( ) : |
ReadPacket is called by NativeDriver to start reading the next packet on the stream.
|
|
ResetTimeout ( int timeout ) : void | ||
SendEntirePacketDirectly ( byte buffer, int count ) : void | ||
SendPacket ( |
Method | Description | |
---|---|---|
ReadFully ( Stream stream, byte buffer, int offset, int count ) : void |
Reads the specified number of bytes from the stream and stores them at given offset in the buffer. Throws EndOfStreamException if not all bytes can be read.
|
public MySqlStream ( |
||
encoding | ||
return | System |
public MySqlStream ( Stream baseStream, |
||
baseStream | Stream | |
encoding | ||
compress | bool | |
return | System |
public SendEntirePacketDirectly ( byte buffer, int count ) : void | ||
buffer | byte | |
count | int | |
return | void |
public SendPacket ( |
||
packet | ||
return | void |