public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static int |
bytesToUnsignedInt(byte[] integerInBytes) |
static byte[] |
copyOf(byte[] in,
int size) |
static byte[] |
copyOfRange(byte[] in,
int from,
int to) |
static byte[] |
randomBytes(int numberOfBytes) |
static byte[] |
unsignedIntToBytes(int data) |
public static int bytesToUnsignedInt(byte[] integerInBytes)
public static byte[] unsignedIntToBytes(int data)
public static byte[] randomBytes(int numberOfBytes)
public static byte[] copyOf(byte[] in, int size)
public static byte[] copyOfRange(byte[] in, int from, int to)
Copyright © 2023. All rights reserved.