node-query/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js

12 lines
223 B
JavaScript

module.exports = LocalDataFilePacket;
/**
* @param {Buffer} data
*/
function LocalDataFilePacket(data) {
this.data = data;
}
LocalDataFilePacket.prototype.write = function(writer) {
writer.writeBuffer(this.data);
};