public static Array fx(byte[] b, string WRD) { List <byte[]> list = new List <byte[]>(); MemoryStream memoryStream = new MemoryStream(); MemoryStream memoryStream2 = new MemoryStream(); string[] array = Strings.Split(MdFN.BS(ref b), WRD, -1, CompareMethod.Binary); memoryStream.Write(b, 0, array[0].Length); checked { memoryStream2.Write(b, array[0].Length + WRD.Length, b.Length - (array[0].Length + WRD.Length)); list.Add(memoryStream.ToArray()); list.Add(memoryStream2.ToArray()); memoryStream.Dispose(); memoryStream2.Dispose(); return(list.ToArray()); } }
public static string getMD5Hash(string s) { return(MdFN.getMD5Hash(MdFN.SB(ref s))); }