title: Error when reading from byte stream:'System.ArgumentOutOfRangeException'
body: <p>I've opened a byte stream on a file that's about 3.5 meg. The contents are Int32's in arrays, each arrays is separated by a unique 64-bit magic number and then some Int32s with the dimensions, followed by the data.</p>
  
  <p>I'm about half way through the file, array 548 of 1001, when I get this error:</p>
  
  <pre><code>Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll
  
  Additional information: MemoryStream length must be non-negative and less than 2^31 - 1 - origin.
  </code></pre>
  
  <p>The error occurs on this line:</p>
  
  <pre><code>S.Position = ByteStart + 8
  </code></pre>
  
  <p><code>S</code> is the stream. <code>ByteStart</code> is 873552. The addition produces the correct value, 873560. The file is much longer than this. Can anyone offer a suggestion as to why I might be getting this error?</p>