(CharFlow seq)
| 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; |