Because the SerialPort class buffers data, and the stream contained in the BaseStream property does not, the two might conflict about how many bytes are available to read.
英
美
- 由于SerialPort类会缓冲数据,而BaseStream属性内包含的流则不缓冲数据,因此二者在可读字节数量上可能会不一致。