MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / uidToString

Method uidToString

src/uid/UniqueId.java:1411–1413  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 15

uidToStringMethod · 0.95
uidToString2Method · 0.95
uidToString3Method · 0.95
uidToStringZerosMethod · 0.95
uidToString255Method · 0.95
uidToStringNullMethod · 0.95
generateUIDStringMethod · 0.95
getTSUIDStringMethod · 0.95

Calls

no outgoing calls

Tested by 15

uidToStringMethod · 0.76
uidToString2Method · 0.76
uidToString3Method · 0.76
uidToStringZerosMethod · 0.76
uidToString255Method · 0.76
uidToStringNullMethod · 0.76
generateUIDStringMethod · 0.76
getTSUIDStringMethod · 0.76