示例#1
0
 internal static RestartAreaHeader[] Get(byte[] bytes)
 {
     RestartAreaHeader[] headerArray = new RestartAreaHeader[0x02];
     headerArray[0] = new RestartAreaHeader(NativeMethods.GetSubArray(bytes, 0x00, 0x1000));
     headerArray[1] = new RestartAreaHeader(NativeMethods.GetSubArray(bytes, 0x1000, 0x1000));
     return(headerArray);
 }
示例#2
0
 public Restart(byte[] bytes)
 {
     RestartHeader = RestartAreaHeader.Get(bytes);
 }
示例#3
0
 public static RestartAreaHeader[] Get(string volume)
 {
     return(RestartAreaHeader.Get(LogFile.getBytes(volume)));
 }
示例#4
0
 internal static RestartAreaHeader[] Get(byte[] bytes)
 {
     RestartAreaHeader[] headerArray = new RestartAreaHeader[0x02];
     headerArray[0] = new RestartAreaHeader(NativeMethods.GetSubArray(bytes, 0x00, 0x1000));
     headerArray[1] = new RestartAreaHeader(NativeMethods.GetSubArray(bytes, 0x1000, 0x1000));
     return headerArray;
 }