File doc = new File("\\responseFairview.binary");
byte[] theFile = FileUtils.readFileToByteArray(doc);
ByteArrayInputStream bais = new ByteArrayInputStream(theFile);
DataInputStream din = new DataInputStream(bais);
UtilsFlexMessage utilsFlex = new UtilsFlexMessage();
utilsFlex.parseInputStream(din);
String content=utilsFlex.messageToXML();
System.out.println(content);
String pickupItem="pickup_item:"+StringUtils.substringBetween(content, "<string>pickup_item:", "</string>");
System.out.println(pickupItem);
String temp=""+StringUtils.indexOf(content, "<string>collection_loot_item_id</string>\n <null/>");