This commit is contained in:
Administrator
2025-04-24 10:16:38 +08:00
parent 6de65562be
commit 7267aec1fd
108 changed files with 7621 additions and 1890 deletions
@@ -41,7 +41,7 @@ public class ADDLINESPacket extends KLALBPacket {
@Override
protected void writeToChannel(WritableByteChannel dto) throws IOException {
public void writeToChannel(WritableByteChannel dto) throws IOException {
byte[]bta=lines.getBytes(Charset.forName("UTF-8"));
klalbHeader.putChar(1,(char) bta.length);
super.writeToChannel(dto);
@@ -49,7 +49,7 @@ public class ADDLINESPacket extends KLALBPacket {
}
@Override
protected void readFromChannel(ReadableByteChannel din) throws IOException {
public void readFromChannel(ReadableByteChannel din) throws IOException {
super.readFromChannel(din);
int lth=klalbHeader.getChar(1);
byte[]b=new byte[lth];