The list of methods to do Hex String Create are organized into topic(s).
void
appendHex(final StringBuffer buf, final int i) append Hex
buf.append(Integer.toHexString((i >> 24) & 0xff));
buf.append(Integer.toHexString((i >> 16) & 0xff));
buf.append(Integer.toHexString((i >> 8) & 0xff));
buf.append(Integer.toHexString(i & 0xff));
void
appendHex(StringBuffer sbuf, char ch) append Hex
int firstLiteral = ch / 256;
int secLiteral = ch % 256;
if (firstLiteral == 0 && secLiteral < 127) {
sbuf.append("%");
sbuf.append(Integer.toHexString(secLiteral).toUpperCase());
return;
if (ch <= 0x07ff) {
...