done connecting coze and youwei

This commit is contained in:
Ebenezer
2026-03-27 17:05:01 +08:00
parent d5c75c9f5c
commit 592c503b5a
1157 changed files with 186944 additions and 31 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;