public class AsciiFuncs
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASCII |
Constructor and Description |
---|
AsciiFuncs() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
asciiString(byte[] buf)
Convert to ASCII or return null if not compatible
|
static java.lang.String |
asciiString(byte[] buf,
int start,
int len)
Convert to ASCII or return null if not compatible
|
static byte[] |
getBytes(java.lang.String in)
Convert an ASCII string to bytes
|
public static final java.lang.String ASCII
public static java.lang.String asciiString(byte[] buf)
public static java.lang.String asciiString(byte[] buf, int start, int len)
public static byte[] getBytes(java.lang.String in)