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

Method bytesToString

test/storage/MockBase.java:884–886  ·  view source on GitHub ↗

Helper to convert an array of bytes to a hexadecimal encoded string. @param bytes The byte array to convert @return A hex string

(final byte[] bytes)

Source from the content-addressed store, hash-verified

882 * @return A hex string
883 */
884 public static String bytesToString(final byte[] bytes) {
885 return DatatypeConverter.printHexBinary(bytes);
886 }
887
888 /**
889 * Helper to convert a hex encoded string into a byte array.

Callers 2

dumpToSystemOutMethod · 0.95
answerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected