How can I get the body of a file stored in
ContentVersion object in salesforce? I've attempted to query its contents but seems that there is no field holding the body value.
SELECT Id,ContentDocumentId,FileExtension,Title,VersionData FROM ContentVersion
I tried using the
VersionData field but all its returning is an encoded file data.