isEOFPacket method
Implementation
bool isEOFPacket() {
final _payload = payload;
if (_payload is MySQLPacketEOF) {
return true;
}
return _payload is MySQLPacketOK &&
_payload.header == 0xfe &&
payloadLength < 9;
}
bool isEOFPacket() {
final _payload = payload;
if (_payload is MySQLPacketEOF) {
return true;
}
return _payload is MySQLPacketOK &&
_payload.header == 0xfe &&
payloadLength < 9;
}