mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Remove unneeded code.
This commit is contained in:
@@ -34,7 +34,7 @@ namespace DiscImageChef
|
|||||||
public static void ArrayFill<T>(T[] destinationArray, T value)
|
public static void ArrayFill<T>(T[] destinationArray, T value)
|
||||||
{
|
{
|
||||||
// if called with a single value, wrap the value in an array and call the main function
|
// if called with a single value, wrap the value in an array and call the main function
|
||||||
ArrayFill(destinationArray, new T[] {value});
|
ArrayFill(destinationArray, new[] {value});
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ArrayFill<T>(T[] destinationArray, T[] value)
|
public static void ArrayFill<T>(T[] destinationArray, T[] value)
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
// Copyright © 2011-2018 Natalia Portillo
|
// Copyright © 2011-2018 Natalia Portillo
|
||||||
// ****************************************************************************/
|
// ****************************************************************************/
|
||||||
|
|
||||||
|
using System.Text;
|
||||||
using DiscImageChef.Console;
|
using DiscImageChef.Console;
|
||||||
|
|
||||||
namespace DiscImageChef
|
namespace DiscImageChef
|
||||||
@@ -43,7 +44,7 @@ namespace DiscImageChef
|
|||||||
|
|
||||||
public static string ByteArrayToHexArrayString(byte[] array, int width)
|
public static string ByteArrayToHexArrayString(byte[] array, int width)
|
||||||
{
|
{
|
||||||
System.Text.StringBuilder sb = new System.Text.StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
int subcounter = 0;
|
int subcounter = 0;
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ namespace DiscImageChef
|
|||||||
|
|
||||||
if(unicode == 0) break;
|
if(unicode == 0) break;
|
||||||
|
|
||||||
temp += Encoding.Unicode.GetString(System.BitConverter.GetBytes(unicode));
|
temp += Encoding.Unicode.GetString(BitConverter.GetBytes(unicode));
|
||||||
}
|
}
|
||||||
|
|
||||||
return temp;
|
return temp;
|
||||||
|
|||||||
Reference in New Issue
Block a user