How can I create a String object from a byte array
byte arr[MAX_SIZE]; // Java
where one of the array elements is a C null terminating byt
how about this:
String str = new String(arr).split("\0")[0];