MCPcopy
hub / github.com/openwrt/luci / bytesToHex

Method bytesToHex

libs/nixio/axTLS/samples/java/axssl.java:733–743  ·  view source on GitHub ↗
(byte[] data)

Source from the content-addressed store, hash-verified

731 }
732
733 public void bytesToHex(byte[] data)
734 {
735 StringBuffer buf = new StringBuffer();
736 for (int i = 0; i < data.length; i++ )
737 {
738 buf.append(toHexChar((data[i]>>>4)&0x0F));
739 buf.append(toHexChar(data[i]&0x0F));
740 }
741
742 System.out.println(buf);
743 }
744
745
746 /**

Callers 1

display_session_idMethod · 0.95

Calls 1

toHexCharMethod · 0.95

Tested by

no test coverage detected