| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final char[] | digits
All possible chars for representing a number as a String |
| private static final long | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static int | |
| public static int | parseInt(byte[]
the bytes to parse b, int the start offset of the bytes off, int the length of the bytes len)Parses an unsigned integer from the specified sub-array of bytes. |
| public static int | |
| public static int | |
| public static int | |
| public static long | parseLong(byte[]
the bytes to parse b, int the start offset of the bytes off, int the length of the bytes len)Parses an unsigned long from the specified sub-array of bytes. |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static int | |
| public static void | toLower(final byte[] bytes)
Converts passed bytes (representing ASCII characters) to the lower case equivalent. |
| public static int | |
| public static void | toUpper(final byte[] bytes)
Converts passed bytes (representing ASCII characters) to the upper case equivalent. |
| digits | back to summary |
|---|---|
| pack-priv static final char[] digits All possible chars for representing a number as a String | |
| INT_OVERFLOW_LIMIT | back to summary |
|---|---|
| private static final long INT_OVERFLOW_LIMIT | |
| LONG_OVERFLOW_LIMIT | back to summary |
|---|---|
| private static final long LONG_OVERFLOW_LIMIT | |
| Ascii | back to summary |
|---|---|
| public Ascii() | |
| intToHexString | back to summary |
|---|---|
| public static void intToHexString(Buffer buffer, int i) | |
| intToUnsignedString | back to summary |
|---|---|
| public static void intToUnsignedString(Buffer buffer, int value, int shift) Convert the integer to an unsigned number. | |
| isAlpha | back to summary |
|---|---|
| public static boolean isAlpha(int c) Returns true if the specified ASCII character is upper or lower case. | |
| isDigit | back to summary |
|---|---|
| public static boolean isDigit(int c) Returns true if the specified ASCII character is a digit. | |
| isLower | back to summary |
|---|---|
| public static boolean isLower(int c) Returns true if the specified ASCII character is lower case. | |
| isUpper | back to summary |
|---|---|
| public static boolean isUpper(int c) Returns true if the specified ASCII character is upper case. | |
| isWhite | back to summary |
|---|---|
| public static boolean isWhite(int c) Returns true if the specified ASCII character is white space. | |
| parseInt | back to summary |
|---|---|
| public static int parseInt(final DataChunk dataChunk) Parses an unsigned integer from the specified
| |
| parseInt | back to summary |
|---|---|
| public static int parseInt(final DataChunk dataChunk, final int offset, final int length) Parses an unsigned integer from the specified part of
| |
| parseInt | back to summary |
|---|---|
| public static int parseInt(byte[] b, int off, int len) throws NumberFormatException Parses an unsigned integer from the specified sub-array of bytes.
| |
| parseInt | back to summary |
|---|---|
| public static int parseInt(char[] b, int off, int len) throws NumberFormatException | |
| parseInt | back to summary |
|---|---|
| public static int parseInt(Buffer b, int off, int len) throws NumberFormatException Parses an unsigned int from the specified sub-array of bytes.
| |
| parseInt | back to summary |
|---|---|
| public static int parseInt(String s, int off, int len) throws NumberFormatException | |
| parseLong | back to summary |
|---|---|
| public static long parseLong(byte[] b, int off, int len) throws NumberFormatException Parses an unsigned long from the specified sub-array of bytes.
| |
| parseLong | back to summary |
|---|---|
| public static long parseLong(char[] b, int off, int len) throws NumberFormatException | |
| parseLong | back to summary |
|---|---|
| public static long parseLong(String s, int off, int len) throws NumberFormatException | |
| parseLong | back to summary |
|---|---|
| public static long parseLong(Buffer b, int off, int len) throws NumberFormatException Parses an unsigned long from the specified sub-array of bytes.
| |
| parseLong | back to summary |
|---|---|
| public static long parseLong(final DataChunk dataChunk) | |
| parseLong | back to summary |
|---|---|
| public static long parseLong(final DataChunk dataChunk, final int offset, final int length) | |
| toLower | back to summary |
|---|---|
| public static int toLower(int c) Returns the lower case equivalent of the specified ASCII character. | |
| toLower | back to summary |
|---|---|
| public static void toLower(final byte[] bytes) Converts passed bytes (representing ASCII characters) to the lower case equivalent. | |
| toUpper | back to summary |
|---|---|
| public static int toUpper(int c) Returns the upper case equivalent of the specified ASCII character. | |
| toUpper | back to summary |
|---|---|
| public static void toUpper(final byte[] bytes) Converts passed bytes (representing ASCII characters) to the upper case equivalent. | |