Пример #1
0
 /// <summary>
 /// ReadFromFile 从文件读取二进制反序列化为对象。
 /// </summary>
 public static object ReadFromFile(string filePath)
 {
     byte[] buff = FileHelper.ReadFileReturnBytes(filePath);
     return(SerializeHelper.DeserializeBytes(buff, 0, buff.Length));
 }