Пример #1
0
 public static IObservable <byte[]> EncryptCRC32Async(byte[] src)
 {
     byte[] dst = null;
     return(Observable.Start(() => Utility.EncryptCRC32(src, out dst))
            .ObserveOnMainThread()
            .Select(_ => dst));
 }
Пример #2
0
        public static IObservable <string> EncryptCRC32Async(string src)
        {
            string dst = null;

            return(Observable.Start(() => Utility.EncryptCRC32(src, out dst))
                   .ObserveOnMainThread()
                   .Select(_ => dst));
        }