parseVersionAndFlags(content);
data = content.slice();
content.position(content.position() + content.remaining());
try {
data.rewind();
descriptor = ObjectDescriptorFactory.createFrom(-1, data);
} catch (IOException e) {
log.log(Level.WARNING, "Error parsing ObjectDescriptor", e);
//that's why we copied it ;)
} catch (IndexOutOfBoundsException e) {
log.log(Level.WARNING, "Error parsing ObjectDescriptor", e);
//that's why we copied it ;)
}