public static String encodeBytes(byte[] bytes) {
		return Base64.encodeToString(bytes, false);
	}
@Test
	public void testBytes() {
		byte[] bytes = { 1, 100, 127, 0, 60, 15, -128, -1, 14, -55 };
		String bytesString = Protocol.encodeBytes(bytes);
		byte[] bytes2 = Base64.decode(bytesString);
		assertArrayEquals(bytes, bytes2);

		Gateway g = new Gateway(null);
		ReturnObject rObject = g.getReturnObject(bytes);
		assertNotNull(rObject.getPrimitiveObject());
	}