This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
node-task/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js

12 lines
223 B
JavaScript
Raw Normal View History

2014-09-18 15:35:58 -04:00
module.exports = LocalDataFilePacket;
/**
* @param {Buffer} data
*/
function LocalDataFilePacket(data) {
this.data = data;
}
LocalDataFilePacket.prototype.write = function(writer) {
writer.writeBuffer(this.data);
};