@Test public void testConvertStringToBytes_SpaceDelimited() { String string = "01 23 80 ff 00"; byte[] expected = BYTES_012380ff00; byte[] actual = NumericUtilities.convertStringToBytes(string); assertEquals(expected.length, actual.length); for (int i = 0; i < expected.length; i++) { assertEquals(expected[i], actual[i]); } }
public static byte[] convertStringToBytes(String hexString) { CharSequence characters = condenseByteString(hexString); return convertCharSequenceToBytes(characters); }
NumericUtilities { public static byte[] convertStringToBytes(String hexString) { CharSequence characters = condenseByteString(hexString); return convertCharSequenceToBytes(characters); } }
NumericUtilities { public static byte[] convertStringToBytes(String hexString) { CharSequence characters = condenseByteString(hexString); return convertCharSequenceToBytes(characters); } private  NumericUtilities(); }
NumericUtilities { public static byte[] convertStringToBytes(String hexString) { CharSequence characters = condenseByteString(hexString); return convertCharSequenceToBytes(characters); } private  NumericUtilities(); static long parseNumber(String numStr); static long parseLong(String numStr); static long parseOctLong(String numStr); static long parseHexLong(String numStr); static BigInteger parseHexBigInteger(String numStr); final static String toHexString(long value); final static String toHexString(long value, int size); final static String toSignedHexString(long value); final static BigInteger unsignedLongToBigInteger(long value); final static long bigIntegerToUnsignedLong(BigInteger value); static long getUnsignedAlignedValue(long unsignedValue, long alignment); static String convertMaskedValueToHexString(long msk, long val, int n, boolean truncate,
			int spaceevery, String spacer); static String convertMaskToHexString(long msk, int n, boolean truncate, int spaceevery,
			String spacer); static void convertHexStringToMaskedValue(AtomicLong msk, AtomicLong val, String hex,
			int n, int spaceevery, String spacer); static String formatNumber(long number, int radix); static String formatNumber(long number, int radix, SignednessFormatMode mode); static byte[] convertStringToBytes(String hexString); static String toString(byte b); static String convertBytesToString(byte[] bytes); static String convertBytesToString(byte[] bytes, String delimeter); static String convertBytesToString(byte[] bytes, int start, int len, String delimeter); static String convertBytesToString(Iterator<Byte> bytes, String delimiter); static String convertBytesToString(Iterable<Byte> bytes, String delimiter); static String convertBytesToString(Stream<Byte> bytes, String delimiter); static boolean isIntegerType(Number number); static boolean isIntegerType(Class<?> numClass); static boolean isFloatingPointType(Number number); static boolean isFloatingPointType(Class<?> numClass); }
NumericUtilities { public static byte[] convertStringToBytes(String hexString) { CharSequence characters = condenseByteString(hexString); return convertCharSequenceToBytes(characters); } private  NumericUtilities(); static long parseNumber(String numStr); static long parseLong(String numStr); static long parseOctLong(String numStr); static long parseHexLong(String numStr); static BigInteger parseHexBigInteger(String numStr); final static String toHexString(long value); final static String toHexString(long value, int size); final static String toSignedHexString(long value); final static BigInteger unsignedLongToBigInteger(long value); final static long bigIntegerToUnsignedLong(BigInteger value); static long getUnsignedAlignedValue(long unsignedValue, long alignment); static String convertMaskedValueToHexString(long msk, long val, int n, boolean truncate,
			int spaceevery, String spacer); static String convertMaskToHexString(long msk, int n, boolean truncate, int spaceevery,
			String spacer); static void convertHexStringToMaskedValue(AtomicLong msk, AtomicLong val, String hex,
			int n, int spaceevery, String spacer); static String formatNumber(long number, int radix); static String formatNumber(long number, int radix, SignednessFormatMode mode); static byte[] convertStringToBytes(String hexString); static String toString(byte b); static String convertBytesToString(byte[] bytes); static String convertBytesToString(byte[] bytes, String delimeter); static String convertBytesToString(byte[] bytes, int start, int len, String delimeter); static String convertBytesToString(Iterator<Byte> bytes, String delimiter); static String convertBytesToString(Iterable<Byte> bytes, String delimiter); static String convertBytesToString(Stream<Byte> bytes, String delimiter); static boolean isIntegerType(Number number); static boolean isIntegerType(Class<?> numClass); static boolean isFloatingPointType(Number number); static boolean isFloatingPointType(Class<?> numClass); static final BigInteger MAX_UNSIGNED_LONG; static final BigInteger MAX_SIGNED_LONG; }