parameters: (self, rx_size=4096, tx_size=None)
docstring: \
          Recommend a buffer size to the driver (device driver can ignore this
          vlaue). Must be called before the port is opended.
docstring_summary: \
          Recommend a buffer size to the driver (device driver can ignore this
          vlaue). Must be called before the port is opended.
docstring_tokens: \ Recommend a buffer size to the driver ( device driver can ignore this vlaue ) . Must be called before the port is opended .
function: def setBufferSize(self, rx_size=4096, tx_size=None):
          """\
          Recommend a buffer size to the driver (device driver can ignore this
          vlaue). Must be called before the port is opended.
          """
          if tx_size is None: tx_size = rx_size
          win32.SetupComm(self.hComPort, rx_size, tx_size)
function_tokens: def setBufferSize ( self , rx_size = 4096 , tx_size = None ) : if tx_size is None : tx_size = rx_size win32 . SetupComm ( self . hComPort , rx_size , tx_size )