elrond.Utils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of erdjava Show documentation
Show all versions of erdjava Show documentation
The Java 1.8 SDK for interacting with the Elrond blockchain
package elrond;
public class Utils {
public static byte[] toByteArray(int[] input) {
byte[] result = new byte[input.length];
for (int i = 0; i < input.length; i++) {
result[i] = (byte) input[i];
}
return result;
}
}