Initial commit
This commit is contained in:
15
node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js
generated
vendored
Normal file
15
node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
module.exports = LocalDataFilePacket;
|
||||
|
||||
/**
|
||||
* Create a new LocalDataFilePacket
|
||||
* @constructor
|
||||
* @param {Buffer} data The data contents of the packet
|
||||
* @public
|
||||
*/
|
||||
function LocalDataFilePacket(data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
LocalDataFilePacket.prototype.write = function(writer) {
|
||||
writer.writeBuffer(this.data);
|
||||
};
|
Reference in New Issue
Block a user