This commit is contained in:
Administrator
2024-08-18 17:47:11 +08:00
parent e4f4c77c19
commit e243203535
121 changed files with 7499 additions and 2169 deletions
@@ -16,11 +16,7 @@ public class KLALBOutputStream extends DataOutputStream {
flush();
}
public void writePacket(KLALBPacket klb) throws IOException {
writeKLALBPacketToStream(this, klb);
}
public static void writeKLALBPacketToStream(DataOutputStream out,KLALBPacket klb) throws IOException {
out.write(klb.getType());
klb.writeToStream(out);
out.flush();
KLALBPacket.writeKLALBPacketToStream(this, klb);
}
}