public final class ByteArrayAdapter extends Object
Constructor and Description |
---|
ByteArrayAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
getArrayLength(byte[] array)
Return the length of the given array.
|
int |
getElementSizeInBytes()
Return the size of an element in the array in bytes (e.g.
|
String |
getTag()
TAG for logging.
|
byte[] |
newArray(int length)
Allocate and return an array of the specified size.
|
public String getTag()
public int getArrayLength(byte[] array)
public byte[] newArray(int length)
public int getElementSizeInBytes()