CuiJiaJun

Results 3 issues of CuiJiaJun

see [vue-cli-plugin-web3modal](https://github.com/ZHUIMEN/vue-cli-plugin-web3modal)

v1

让我详细解释为什么固定64字节的缓冲区会导致数据丢失: 串口数据流的特点: - 串口通信是持续的数据流 - 数据可能以不同速率到达 - 单次传输的数据量可能大于64字节 原代码中的问题: ` byte[] buffer = new byte[64]; size = in.read(buffer); ` - in.read(buffer) 最多只能读取64字节 > - 如果串口缓冲区中有100字节数据: > - 第一次读取:读64字节,剩余36字节 > -...