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

12 lines
223 B
JavaScript
Raw Normal View History

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