MCPcopy Index your code
hub / github.com/codenameone/CodenameOne / appendPercent

Method appendPercent

CodenameOne/src/com/codename1/security/Otp.java:236–240  ·  view source on GitHub ↗
(StringBuilder out, int b)

Source from the content-addressed store, hash-verified

234 }
235
236 private static void appendPercent(StringBuilder out, int b) {
237 out.append('%');
238 out.append(HEX[(b >>> 4) & 0x0f]);
239 out.append(HEX[b & 0x0f]);
240 }
241
242 private static final char[] HEX = {
243 '0', '1', '2', '3', '4', '5', '6', '7',

Callers 1

appendUriComponentMethod · 0.95

Calls 1

appendMethod · 0.65

Tested by

no test coverage detected