How to get base 64 of document

Hi how to get base 64 of document inside window.Asc.plugin.init = function() {};
or can you suggest any other method where i can get base64 of document

Hello @test

As I can see, you have already contacted us via Helpdesk platform with this question and received a response that at this moment we do not provide such methods. Please stick to the discussion in ticket to get prompt replies.

I will close this thread as a duplicate.