Exemplo n.º 1
0
        public override KeyValuePair <double, string> CompareSrc(Source source1, Source source2)
        {
            var res = Loader.Call(source1.GetRawBytesNullTerminated(), source2.GetRawBytesNullTerminated());
            int idx = res.IndexOf(' ');

            return(new KeyValuePair <double, string>(res.Substring(0, idx).ParseAsDouble(), res.Substring(idx + 1).Trim()));
        }