ReadInt64() public method

Reads from the underlying stream in little endian format. Advancing the position.
public ReadInt64 ( ) : long
return long
 /// <summary>
 /// Creates a new <see cref="SortedTreeEngineReaderOptions"/> from a stream
 /// </summary>
 /// <param name="stream">the stream to read from</param>
 public SortedTreeEngineReaderOptions(BinaryStreamBase stream)
 {
     byte version = stream.ReadUInt8();
     switch (version)
     {
         case 0:
             Timeout = new TimeSpan(stream.ReadInt64());
             MaxReturnedCount = stream.ReadInt64();
             MaxScanCount = stream.ReadInt64();
             MaxSeekCount = stream.ReadInt64();
             break;
         default:
             throw new VersionNotFoundException("Unknown Version");
     }
 }