mirror of
https://github.com/aaru-dps/Aaru.Helpers.git
synced 2025-12-16 19:24:35 +00:00
Added specific console handling for standard, verbose, debug
and error outputs.
This commit is contained in:
@@ -36,6 +36,7 @@ Copyright (C) 2011-2014 Claunia.com
|
||||
****************************************************************************/
|
||||
//$Id$
|
||||
using System;
|
||||
using DiscImageChef.Console;
|
||||
|
||||
namespace DiscImageChef
|
||||
{
|
||||
@@ -43,7 +44,7 @@ namespace DiscImageChef
|
||||
{
|
||||
public static void PrintHexArray(byte[] array, int width)
|
||||
{
|
||||
Console.WriteLine(ByteArrayToHexArrayString(array, width));
|
||||
DicConsole.WriteLine(ByteArrayToHexArrayString(array, width));
|
||||
}
|
||||
|
||||
public static string ByteArrayToHexArrayString(byte[] array, int width)
|
||||
@@ -63,12 +64,12 @@ namespace DiscImageChef
|
||||
{
|
||||
if (subcounter == 3 )
|
||||
{
|
||||
Console.Write(" ");
|
||||
sb.Append(" ");
|
||||
subcounter = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.Write(" ");
|
||||
sb.Append(" ");
|
||||
subcounter++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user