Get the encoded version of the object, if it has been stored on the object.
Object to check.
Encoded version as bytes, if available.
Get the encoded version of the object, if it has been stored on the object.