/// <summary> /// Creates a new object. /// </summary> public SerialListenerProvider() { ReadBuffer = new byte[8192]; _OpenSerialPortCaller = new OpenSerialPortDelegate(OpenSerialPortInBackground); _ReadBytesDelegate = new ReadBytesDelegate(ReadBytesInBackground); }