public static byte[] concatenateByteArrays(byte[]... bytes){
		ByteArrayOutputStream resultStream = new ByteArrayOutputStream( );
		for (byte[] b : bytes) {
			try {
				resultStream.write(b);
			} catch (IOException e) {
				// Should not happen
				e.printStackTrace();
			}
		}
		return resultStream.toByteArray();
	}