// If we pass the gauntlet, create a content stream property and
// add it to the property map. The size parameter is an int, but
// it is only a hint, so cap the long value at Integer.MAX_VALUE.
InputStream is = contentHandler.getInputStream(volumeId, objectId, 0,
Ints.saturatedCast(size));
Value contentValue = Value.getBinaryValue(is);
props.addProperty(SpiConstants.PROPNAME_CONTENT, contentValue);
}