Package org.sol4k.utilities
Class ByteUtils
- java.lang.Object
-
- org.sol4k.utilities.ByteUtils
-
public class ByteUtils extends Object
Utility methods for bit, byte, and integer manipulation and conversion. Most of these were moved here fromorg.bitcoinj.core.Utils.
-
-
Constructor Summary
Constructors Constructor Description ByteUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigIntegerbytesToBigInteger(byte[] bytes)
-
-
-
Method Detail
-
bytesToBigInteger
public static BigInteger bytesToBigInteger(byte[] bytes)
- Parameters:
bytes- to convert into a BigInteger- Returns:
- the converted BigInteger
-
-