示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="bytes"></param>
 /// <returns></returns>
 internal static RestartAreaHeader[] Get(byte[] bytes)
 {
     RestartAreaHeader[] headerArray = new RestartAreaHeader[0x02];
     headerArray[0] = new RestartAreaHeader(Helper.GetSubArray(bytes, 0x00, 0x1000));
     headerArray[1] = new RestartAreaHeader(Helper.GetSubArray(bytes, 0x1000, 0x1000));
     return(headerArray);
 }
示例#2
0
 internal static RestartAreaHeader[] Get(byte[] bytes)
 {
     RestartAreaHeader[] headerArray = new RestartAreaHeader[0x02];
     headerArray[0] = new RestartAreaHeader(Helper.GetSubArray(bytes, 0x00, 0x1000));
     headerArray[1] = new RestartAreaHeader(Helper.GetSubArray(bytes, 0x1000, 0x1000));
     return headerArray;
 }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="bytes"></param>
 public Restart(byte[] bytes)
 {
     RestartHeader = RestartAreaHeader.Get(bytes);
 }
示例#4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="volume"></param>
 /// <returns></returns>
 public static RestartAreaHeader[] Get(string volume)
 {
     return(RestartAreaHeader.Get(LogFile.getBytes(volume)));
 }