Example usage for io.netty.util.internal StringUtil toHexString

List of usage examples for io.netty.util.internal StringUtil toHexString

Introduction

In this page you can find the example usage for io.netty.util.internal StringUtil toHexString.

Prototype

public static <T extends Appendable> T toHexString(T dst, byte[] src, int offset, int length) 

Source Link

Document

Converts the specified byte array into a hexadecimal value and appends it to the specified buffer.

Usage

From source file:net.imiui.proxy.SocksCommonUtils.java

License:Apache License

private static void appendHextet(StringBuilder sb, byte[] src, int i) {
    StringUtil.toHexString(sb, src, i << 1, 2);
}