//http://www.bouncycastle.org/
//MIT X11 License
using System;
using System.Text;
namespace Org.BouncyCastle.Utilities
{
/// <summary> General array utilities.</summary>
public sealed class Arrays
{
private Arrays()
{
}
public static byte[] Clone(byte[] data)
{
return data == null ? null : (byte[]) data.Clone();
}
public static int[] Clone(int[] data)
{
return data == null ? null : (int[]) data.Clone();
}
}
}
|