MySQLPacket class
Constructors
- MySQLPacket({required int sequenceID, required MySQLPacketPayload payload, required int payloadLength})
- MySQLPacket.decodeAuthSwitchRequestPacket(Uint8List buffer)
-
factory
-
MySQLPacket.decodeBinaryResultSetRowPacket(Uint8List buffer, List<
MySQLColumnDefinitionPacket> colDefs) -
factory
- MySQLPacket.decodeColumnCountPacket(Uint8List buffer)
-
factory
- MySQLPacket.decodeColumnDefPacket(Uint8List buffer)
-
factory
- MySQLPacket.decodeCommPrepareStmtResponsePacket(Uint8List buffer)
-
factory
- MySQLPacket.decodeGenericPacket(Uint8List buffer)
-
factory
- MySQLPacket.decodeInitialHandshake(Uint8List buffer)
-
factory
- MySQLPacket.decodeResultSetRowPacket(Uint8List buffer, int numOfCols)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- payload ↔ MySQLPacketPayload
-
getter/setter pair
- payloadLength ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequenceID ↔ int
-
getter/setter pair
Methods
-
encode(
) → Uint8List -
isEOFPacket(
) → bool -
isErrorPacket(
) → bool -
isOkPacket(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decodePacketHeader(
Uint8List buffer) → Tuple2< int, int> -
detectPacketType(
Uint8List buffer) → MySQLGenericPacketType -
getPacketLength(
Uint8List buffer) → int