Everything works ok, but the callback-method renderContent(rawContent, options) is being called by havin rawContent containing a string and UTF-8 encoded, which causes in data loss, because higher binarydata is just being skipped by encoder.
How can I retreive the git-file´s correct binary content? When being called my extension does not know the path or current selection of that item. Just the rawItem.
I registered an extension to the Repos/File/Preview-Pane to display some binary filecontent using this extensionpoint:
Everything works ok, but the callback-method
renderContent(rawContent, options)
is being called by havin rawContent containing a string and UTF-8 encoded, which causes in data loss, because higher binarydata is just being skipped by encoder.How can I retreive the git-file´s correct binary content? When being called my extension does not know the path or current selection of that item. Just the rawItem.
Thanks for help