Пример #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;
 }