Skip to content

Commit 8c5e494

Browse files
authored
Remove unused ArraySegment zero fill helper method from ArrayHelpers
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 10b18c0 commit 8c5e494

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

HashifyNet/Core/Utilities/ArrayHelpers.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ public static void ZeroFill(byte[] array)
4444

4545
Array.Clear(array, 0, array.Length);
4646
}
47-
48-
public static void ZeroFill(ArraySegment<byte> array)
49-
{
50-
ZeroFill(array.Array);
51-
}
5247

5348
/// <summary>
5449
/// Coerces the given <paramref name="hash"/> to a byte array with <paramref name="bitLength"/> significant bits.
@@ -114,3 +109,4 @@ public static byte[] CoerceToArray(IEnumerable<byte> hash, int bitLength)
114109
}
115110

116111

112+

0 commit comments

Comments
 (0)