DziennikOcen/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js
User Kill3rs4 84150f8404 Initial D
2022-01-11 20:18:26 +01:00

13 lines
313 B
JavaScript

module.exports = ComStatisticsPacket;
function ComStatisticsPacket() {
this.command = 0x09;
}
ComStatisticsPacket.prototype.write = function(writer) {
writer.writeUnsignedNumber(1, this.command);
};
ComStatisticsPacket.prototype.parse = function(parser) {
this.command = parser.parseUnsignedNumber(1);
};