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

Method decodeLong

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

Source from the content-addressed store, hash-verified

1664 }
1665
1666 public static long decodeLong(CharFlow seq) {
1667 long number = decodeUnsigned(seq);
1668 long result = number / 2;
1669 if (number % 2 != 0) {
1670 result = -result;
1671 }
1672 return result;
1673 }
1674
1675 public static char encodeDigit(int digit) {
1676 if (digit < 2) {

Callers

nothing calls this directly

Calls 1

decodeUnsignedMethod · 0.95

Tested by

no test coverage detected