/// <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); }
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; }
/// <summary> /// /// </summary> /// <param name="bytes"></param> public Restart(byte[] bytes) { RestartHeader = RestartAreaHeader.Get(bytes); }
/// <summary> /// /// </summary> /// <param name="volume"></param> /// <returns></returns> public static RestartAreaHeader[] Get(string volume) { return(RestartAreaHeader.Get(LogFile.getBytes(volume))); }