get the hexadecimal code for the PDF file

+1 vote


 i don't understand how to get the hexadecimal code for the PDF file.


related to an answer for: publish pdf in multichain
asked Jan 3, 2019 by anonymous

2 Answers

0 votes
You can use liststreamkeyitems with the required key parameter of the pdf file to retrieve the hex code of the pdf file
answered Jan 6, 2019 by gimmick
0 votes
This will depend on your programming language, but it's not a specific MultiChain question. It's generally about loading the file contents into a binary variable and then converting that variable into a hexadecimal string.
answered Jan 7, 2019 by MultiChain