Esempio n. 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);
 }
Esempio n. 2
0
 public Restart(byte[] bytes)
 {
     RestartHeader = RestartAreaHeader.Get(bytes);
 }
Esempio n. 3
0
 public static RestartAreaHeader[] Get(string volume)
 {
     return(RestartAreaHeader.Get(LogFile.getBytes(volume)));
 }
Esempio n. 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;
 }