public class ASCIIUtility extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copyStream(InputStream is,
OutputStream out) |
static int |
parseInt(byte[] b,
int start,
int end,
int radix)
Convert the bytes within the specified range of the given byte
array into a signed integer in the given radix .
|
static String |
toString(byte[] b,
int start,
int end)
Convert the bytes within the specified range of the given byte
array into a String.
|
public static int parseInt(byte[] b, int start, int end, int radix) throws NumberFormatException
start
till, but not including end
. Based on java.lang.Integer.parseInt()
NumberFormatException
public static String toString(byte[] b, int start, int end)
start
till, but not including end
. public static void copyStream(InputStream is, OutputStream out) throws IOException
IOException
Copyright © 2015 Oracle Corporation. All rights reserved.