private void DoubleBufferLoadProcessor(FileStream reader, int dimension) { long startPosition = m_Parent.DataStartPosition; reader.Seek(startPosition, SeekOrigin.Begin); byte[] buffer = new byte[8]; NumberUnion nu = new NumberUnion(); while (true) { int i = reader.Read(buffer, 0, buffer.Length); if (i <= 0) { break; } double d = BufferConverter.GetBytesDouble(buffer, nu, 0); if (d <= -1.0e30) { d = Double.NaN; } Data.Add(d); reader.Seek(m_Parent.RecordWidth - 8, SeekOrigin.Current); } }