Initial hDiyanetProxy backend scaffold (Express + MySQL + Diyanet setup)

This commit is contained in:
hbt22bot
2026-02-27 05:01:41 +00:00
commit 94d5388864
4399 changed files with 464304 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
'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;