MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / decode

Method decode

vm/JavaAPI/src/java/lang/Character.java:1644–1651  ·  view source on GitHub ↗
(CharFlow seq)

Source from the content-addressed store, hash-verified

1642 }
1643
1644 public static int decode(CharFlow seq) {
1645 int number = decodeUnsigned(seq);
1646 int result = number / 2;
1647 if (number % 2 != 0) {
1648 result = -result;
1649 }
1650 return result;
1651 }
1652
1653 public static long decodeUnsignedLong(CharFlow seq) {
1654 long number = 0;

Callers 15

decodeIntPairsDiffMethod · 0.95
decodeIntDiffMethod · 0.95
strip_fileFunction · 0.45
do_POSTMethod · 0.45
invokeStatic1Method · 0.45
invokeStatic1Method · 0.45
invokeStatic0Method · 0.45
invokeStatic16Method · 0.45
writeMethod · 0.45
http_getFunction · 0.45
check_caseFunction · 0.45
mainFunction · 0.45

Calls 1

decodeUnsignedMethod · 0.95

Tested by 1

check_caseFunction · 0.36