Initial commit
This commit is contained in:
12
node_modules/mysql/lib/protocol/packets/ComPingPacket.js
generated
vendored
Normal file
12
node_modules/mysql/lib/protocol/packets/ComPingPacket.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
module.exports = ComPingPacket;
|
||||
function ComPingPacket() {
|
||||
this.command = 0x0e;
|
||||
}
|
||||
|
||||
ComPingPacket.prototype.write = function(writer) {
|
||||
writer.writeUnsignedNumber(1, this.command);
|
||||
};
|
||||
|
||||
ComPingPacket.prototype.parse = function(parser) {
|
||||
this.command = parser.parseUnsignedNumber(1);
|
||||
};
|
Reference in New Issue
Block a user