KLALB V3.4

This commit is contained in:
Administrator
2025-11-15 11:08:16 +08:00
parent 306bfd36f7
commit 8842566ee2
160 changed files with 18540 additions and 4512 deletions
+5
View File
@@ -2,6 +2,7 @@ package org.kne.io;
import java.io.EOFException;
import java.io.IOException;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.SocketChannel;
@@ -33,7 +34,11 @@ public class KNEChannels {
int opos=src.position();
//System.out.println(bbf+" "+src);
//FastLib .bufferPut(bbf,src);
try {
bbf.put(src);
}catch(BufferOverflowException e) {
throw new IOException(src.toString()+" "+bbf.toString(), e);
}
return src.position()-opos;
}
}