final byte[] zippedData = xmlBuffer.getRaw();
return new InputStreamReader(new InflaterInputStream(new ByteArrayInputStream(zippedData, 0, xmlBuffer.getLength())), "UTF-16");
}
catch (IOException e)
{
throw new ReportProcessingException("Failed to copy buffer", e);
}
}