Hi!
Is there an existing function to get binary data of a file(document with pdf mimetype, last version in a content server) to encode it to base64 and pass somewhere else?
I've found $WebDoc.WebDocUtils.NodeToWeb and NodeToView. These functions stream bytes straight to socket or file, but I would like to encode it to base64 and than pass somewhere.
I've also found $LLIAPI.NodeUtil.StreamNodeToText. But it seems that is does not return pdf file, at least I can not convert result to pdf.
How can I archive it?
Thanks in advance
xECM 10.5