public final class Ascii
extends java.lang.Object
Constructor | Description |
---|---|
Ascii() |
Modifier and Type | Method | Description |
---|---|---|
static long |
parseLong(byte[] b,
int off,
int len) |
Parses an unsigned long from the specified subarray of bytes.
|
static int |
toLower(int c) |
Returns the lower case equivalent of the specified ASCII character.
|
public static int toLower(int c)
c
- The charpublic static long parseLong(byte[] b, int off, int len) throws java.lang.NumberFormatException
b
- the bytes to parseoff
- the start offset of the byteslen
- the length of the bytesjava.lang.NumberFormatException
- if the long format was invalidCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.