Is there a way to concatenate byte array and int value in java. Any help is appreciated. All I could find was concatenating 2 arrays.
int res=somefunction(byte[] buf,..); now i want to concatenate the buf and the res. I can use String[] instead of byte[] if needed.