title: BytesToRead is greater than ReadBufferSize
body: <p>I'm debugging some serial stuff, the significant part being the SerialDataReceivedEventHandler.</p>
  
  <p>I am observing (via breakpoint and hover-over) that there are almost twice as many bytes to read as the buffer size itself. Like huh ?</p>
  
  <p>This is the code</p>
  
  <pre><code>aUartSemaphoreThatTells.WhatTheUartBackgroundRxIsDoing = (int)aValueWhichIndicatesThat.theUARTisReceivingData;
  
  SerialPort CurrentPort = (SerialPort)sender; //// Int routine gave is this in the arguments
  
  int LastByteInUartBuffer = CurrentPort.ReadBufferSize;
  int TheNumberOfBytes = CurrentPort.BytesToRead;
  byte[] inputData = new byte[TheNumberOfBytes];
  int RenameThisInt = CurrentPort.Read(inputData, 0, TheNumberOfBytes);                 //// This is a C# property method of ports
  
  int Dest;
  Dest = UartPlaceHolders.RxBufferLeader; //// Will index into buffer for Chief dispatch
  </code></pre>
  
  <p>Doing a little Mouse-Hover-Over tells me that..</p>
  
  <ul>
  <li><code>LastByteInUartBuffer</code> has 4096</li>
  <li><code>TheNumberOfBytes</code>     has 8092</li>
  <li><code>RenameThisInt</code>        has 8092</li>
  <li><code>inputData</code>            has the right stuff</li>
  </ul>
  
  <p>(I know what the data look like from the other side of the serial port because I generate them myself)</p>
  
  <p>I read over these two pages on the MSDN site,  <a href="http://msdn.microsoft.com/en-US/library/system.io.ports.serialport.readbuffersize%28v=VS.80%29.aspx" rel="nofollow">ReadBufferSize</a>, and <a href="http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.bytestoread%28v=VS.85%29.aspx" rel="nofollow">BytesToRead</a></p>
  
  <p>Anybody, please correct me. How can I get almost 8K of bytes out of a 4K buffer ?</p>