mysql_protocol library

Classes

MySQLBinaryResultSetRowPacket
MySQLColumnDefinitionPacket
MySQLColumnType
MySQLPacket
Represents a complete MySQL package, containing head (4 bytes) and payload.
MySQLPacketAuthMoreData
MySQLPacketAuthSwitchRequest
MySQLPacketAuthSwitchResponse
MySQLPacketBinaryResultSet
MySQLPacketColumnCount
MySQLPacketCommInitDB
Represents the COM_INIT_DB command in the MySQL protocol. This command is used to select a database (schema) on the server.
MySQLPacketCommQuery
Represents the COM_QUERY command in the MySQL protocol. This command is used to send a SQL query to the server.
MySQLPacketCommQuit
Represents the COM_QUIT command in the MySQL protocol.
MySQLPacketCommStmtClose
Represents the COM_STMT_CLOSE command in the MySQL protocol.
MySQLPacketCommStmtExecute
Represents the COM_STMT_EXECUTE command in the MySQL protocol. This command is used to execute a prepared statement with parameters.
MySQLPacketCommStmtPrepare
Represents the COM_STMT_PREPARE command in the MySQL protocol. This command is used to prepare a SQL statement for execution.
MySQLPacketEOF
MySQLPacketError
MySQLPacketExtraAuthData
MySQLPacketExtraAuthDataResponse
MySQLPacketHandshakeResponse41
MySQLPacketInitialHandshake
MySQLPacketOK
MySQLPacketPayload
Interface that defines a MySQL package payload.
MySQLPacketResultSet
MySQLPacketSSLRequest
MySQLPacketStmtPrepareOK
MySQLResultSetRowPacket

Enums

MySQLGenericPacketType
Enum that represents or generic type of MySQL packet.

Constants

mysqlCapFlagClientCompress → const int
mysqlCapFlagClientConnectWithDB → const int
mysqlCapFlagClientDeprecateEOF → const int
mysqlCapFlagClientFoundRows → const int
mysqlCapFlagClientIgnoreSigPipe → const int
mysqlCapFlagClientIgnoreSpace → const int
mysqlCapFlagClientInteractive → const int
mysqlCapFlagClientLocalFiles → const int
mysqlCapFlagClientLongFlag → const int
mysqlCapFlagClientLongPassword → const int
mysqlCapFlagClientMultiResults → const int
mysqlCapFlagClientMultiStatements → const int
mysqlCapFlagClientNoSchema → const int
mysqlCapFlagClientODBC → const int
mysqlCapFlagClientPluginAuth → const int
mysqlCapFlagClientPluginAuthLenEncClientData → const int
mysqlCapFlagClientProtocol41 → const int
mysqlCapFlagClientPsMultiResults → const int
mysqlCapFlagClientReserved → const int
mysqlCapFlagClientSecureConnection → const int
mysqlCapFlagClientSsl → const int
mysqlCapFlagClientTransactions → const int
mysqlColumnTypeBit → const int
mysqlColumnTypeBlob → const int
mysqlColumnTypeDate → const int
mysqlColumnTypeDateTime → const int
mysqlColumnTypeDateTime2 → const int
mysqlColumnTypeDecimal → const int
mysqlColumnTypeDouble → const int
mysqlColumnTypeEnum → const int
mysqlColumnTypeFloat → const int
mysqlColumnTypeGeometry → const int
mysqlColumnTypeInt24 → const int
mysqlColumnTypeJson → const int
mysqlColumnTypeLong → const int
mysqlColumnTypeLongBlob → const int
mysqlColumnTypeLongLong → const int
mysqlColumnTypeMediumBlob → const int
mysqlColumnTypeNewDate → const int
mysqlColumnTypeNewDecimal → const int
mysqlColumnTypeNull → const int
mysqlColumnTypeSet → const int
mysqlColumnTypeShort → const int
mysqlColumnTypeString → const int
mysqlColumnTypeTime → const int
mysqlColumnTypeTime2 → const int
mysqlColumnTypeTimestamp → const int
mysqlColumnTypeTimestamp2 → const int
mysqlColumnTypeTiny → const int
mysqlColumnTypeTinyBlob → const int
mysqlColumnTypeVarChar → const int
mysqlColumnTypeVarString → const int
mysqlColumnTypeYear → const int
mysqlServerFlagMoreResultsExists → const int

Functions

parseBinaryColumnData(int columnType, ByteData data, Uint8List buffer, int startOffset, int flags) → Tuple2<dynamic, int>
sha1(List<int> data) List<int>
Calculate or SHA1 hash two data data.
sha256(List<int> data) List<int>
Calculate or SHA256 hash two dice data.
xor(List<int> aList, List<int> bList) Uint8List
Performs an XOR operation between two byte arrays aList and bList.