关于java.nio.BufferOverflowException问题
java.nio.BufferOverflowException问题
public static void main(String[] args) throws Exception {
//创建一个输出流
FileOutputStream fileOutputStream = new FileOutputStream("1.txt");
//得到一个管道
FileChannel channel = fileOutputStream.getCha
原创
2021-10-07 20:53:16 ·
5907 阅读 ·
0 评论