Home | History | Annotate | Download | only in util

Lines Matching defs:Hex

22 public final class Hex {
26 private Hex() {
31 * Formats a {@code long} as an 8-byte unsigned hex value.
47 * Formats an {@code int} as a 4-byte unsigned hex value.
63 * Formats an {@code int} as a 3-byte unsigned hex value.
79 * Formats an {@code int} as a 2-byte unsigned hex value.
95 * Formats an {@code int} as either a 2-byte unsigned hex value
96 * (if the value is small enough) or a 4-byte unsigned hex value (if
111 * Formats an {@code int} as a 1-byte unsigned hex value.
127 * Formats an {@code int} as a 4-bit unsigned hex nibble.
140 * Formats a {@code long} as an 8-byte signed hex value.
164 * Formats an {@code int} as a 4-byte signed hex value.
188 * Formats an {@code int} as a 2-byte signed hex value.
212 * Formats an {@code int} as a 1-byte signed hex value.
236 * Formats a hex dump of a portion of a {@code byte[]}. The result
276 case 2: astr = Hex.u1(outOffset); break;
277 case 4: astr = Hex.u2(outOffset); break;
278 case 6: astr = Hex.u3(outOffset); break;
279 default: astr = Hex.u4(outOffset); break;
286 sb.append(Hex.u1(arr[offset]));