Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は基本的なC関数を持っています。これはpdfを作成し、それをディスクにHPDF_SaveToFile(pdf, filename)書き込みpdfますHPDF_Doc。
HPDF_SaveToFile(pdf, filename)
pdf
HPDF_Doc
しかし今、関数の動作を変更したいので、ディスクに書き込む代わりに、pdf をバイナリとして返します。これは他の場所で作業します。
変数からバイナリを取得するにはどうすればよいHPDF_Docですか?