I am using a messaging service that returns me a ByteBuffer
which contains some XML that I want to use JAXB to deserialize.
Is there a direct way (using JAXBs Unmarshaller) to deserialize the ByteBuffer or is converting this to a string and then deserializing that the only way?