public class ByteUtils extends Object
| Constructor and Description |
|---|
ByteUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allEquals(byte[] array,
byte value,
int offset,
int maxLength) |
static int |
indexOf(byte[] array,
byte needle,
int offset,
int maxLength) |
static byte[] |
toByteArray(InputStream inputStream) |
static byte[] |
trim(byte[] src,
byte padding,
boolean right,
int minLength) |
public static boolean allEquals(byte[] array,
byte value,
int offset,
int maxLength)
public static int indexOf(byte[] array,
byte needle,
int offset,
int maxLength)
public static byte[] trim(byte[] src,
byte padding,
boolean right,
int minLength)
public static byte[] toByteArray(InputStream inputStream) throws IOException
IOExceptionCopyright © 2016. All rights reserved.