def set_buffer_size(self, rx_size=4096, tx_size=None):
        if tx_size is None:
            tx_size = rx_size
        win32.SetupComm(self._port_handle, rx_size, tx_size)
Recommend a buffer size to the driver (device driver can ignore this
dataset/ETHPy150Open pyserial/pyserial/serial/serialwin32.py/Serial.set_buffer_size