Initial commit
This commit is contained in:
14
node_modules/mysql/lib/protocol/packets/AuthSwitchResponsePacket.js
generated
vendored
Normal file
14
node_modules/mysql/lib/protocol/packets/AuthSwitchResponsePacket.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
module.exports = AuthSwitchResponsePacket;
|
||||
function AuthSwitchResponsePacket(options) {
|
||||
options = options || {};
|
||||
|
||||
this.data = options.data;
|
||||
}
|
||||
|
||||
AuthSwitchResponsePacket.prototype.parse = function parse(parser) {
|
||||
this.data = parser.parsePacketTerminatedBuffer();
|
||||
};
|
||||
|
||||
AuthSwitchResponsePacket.prototype.write = function write(writer) {
|
||||
writer.writeBuffer(this.data);
|
||||
};
|
Reference in New Issue
Block a user