// Ensure removal from previous object stream!
uncompress();
// Add to the object stream!
ObjectStream objectStream = (ObjectStream)objectStreamDataObject;
objectStream.put(xrefEntry.getNumber(),getDataObject());
// Update its xref entry!
xrefEntry.setUsage(UsageEnum.InUseCompressed);
xrefEntry.setStreamNumber(objectStreamIndirectObject.getReference().getObjectNumber());
xrefEntry.setOffset(-1); // Internal object index unknown (to set on object stream serialization -- see ObjectStream).
}