开发者

Save to pdf from a weird string

开发者 https://www.devze.com 2023-03-17 09:12 出处:网络
From my XML file, I got a weird string (I think it\'s a blob data). It looks like this: 0x244033242D212E430D21E2E3[.......]

From my XML file, I got a weird string (I think it's a blob data). It looks like this: 0x244033242D212E430D21E2E3[.......]

It's a very very long string. My DB administrator told me that it comes from the databa开发者_开发问答se. How to convert this string to a valid PDF file?

Thank you very much.

Regards, Kael


A lot depends the database's manner of storing blob data, but if the format's not too exotic then the NSData and NSPropertyListSerialization classes should be able to convert it into something manageable.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号