General code refactor and reformat.

This commit is contained in:
2018-12-31 13:17:27 +00:00
parent 6b12cd1a8e
commit f2caa8c40f
413 changed files with 3554 additions and 6549 deletions

View File

@@ -146,10 +146,8 @@ namespace DiscImageChef.Decoders.SCSI
return decoded;
}
public static string PrettifyModePage_1A(byte[] pageResponse)
{
return PrettifyModePage_1A(DecodeModePage_1A(pageResponse));
}
public static string PrettifyModePage_1A(byte[] pageResponse) =>
PrettifyModePage_1A(DecodeModePage_1A(pageResponse));
public static string PrettifyModePage_1A(ModePage_1A? modePage)
{
@@ -242,10 +240,8 @@ namespace DiscImageChef.Decoders.SCSI
return decoded;
}
public static string PrettifyModePage_1A_S01(byte[] pageResponse)
{
return PrettifyModePage_1A_S01(DecodeModePage_1A_S01(pageResponse));
}
public static string PrettifyModePage_1A_S01(byte[] pageResponse) =>
PrettifyModePage_1A_S01(DecodeModePage_1A_S01(pageResponse));
public static string PrettifyModePage_1A_S01(ModePage_1A_S01? modePage)
{