Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.1/mysql2/lib/packets/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.1/mysql2/lib/packets/prepared_statement_header.js

'use strict';

class PreparedStatementHeader {
  constructor(packet) {
    packet.skip(1); // should be 0
    this.id = packet.readInt32();
    this.fieldCount = packet.readInt16();
    this.parameterCount = packet.readInt16();
    packet.skip(1); // should be 0
    this.warningCount = packet.readInt16();
  }
}

// TODO: toPacket

module.exports = PreparedStatementHeader;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists