Converts a byte array to a hex encoded, upper case string with padding @param uid The ID to convert @return the UID as a hex string @throws NullPointerException if the ID was null @since 2.0
(final byte[] uid)
| 1409 | * @since 2.0 |
| 1410 | */ |
| 1411 | public static String uidToString(final byte[] uid) { |
| 1412 | return DatatypeConverter.printHexBinary(uid); |
| 1413 | } |
| 1414 | |
| 1415 | /** |
| 1416 | * Converts a hex string to a byte array |
no outgoing calls