Esempio n. 1
0
 public override ISearchData CreateSearchData(IEnumerable <uint> values)
 {
     return(Buffer32.CreateSearchData(values.Select(a => new ValueTuple <byte, byte, byte, byte>(
                                                        (byte)((a >> 24) & 0xFF),
                                                        (byte)((a >> 16) & 0xFF),
                                                        (byte)((a >> 8) & 0xFF),
                                                        (byte)(a & 0xFF))).ToArray()));
 }
Esempio n. 2
0
 public long FindBackward(long start, ValueTuple <byte, byte, byte, byte>[] values)
 {
     return(FindBackward(start, Buffer32.CreateSearchData(values)));
 }