MySQLPacketEOF class
Representa um pacote EOF (End-Of-File) do protocolo MySQL.
Esse pacote é utilizado pelo servidor para indicar o fim de um conjunto de dados, como o final de um result set ou o final da transmissão de definições de colunas. O pacote EOF contém:
- Um header (normalmente 0xfe).
- Dois bytes reservados para o número de warnings (geralmente ignorados).
- Dois bytes para os flags de status, que podem indicar se há mais resultados.
- Inheritance
-
- Object
- MySQLPacketPayload
- MySQLPacketEOF
Constructors
- MySQLPacketEOF.new({required int header, required int statusFlags})
- Construtor da classe.
- MySQLPacketEOF.decode(Uint8List buffer)
-
Decodifica um Uint8List recebido do servidor e retorna uma instância de MySQLPacketEOF.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → int
-
Cabeçalho do pacote. Geralmente, o valor é 0xfe.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusFlags → int
-
Flags de status do pacote, que podem conter informações adicionais
(por exemplo, se há mais resultados a serem enviados).
final
Methods
-
encode(
) → Uint8List -
override
-
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