Mo'
Mo'

Reputation: 33

Save to pdf from a weird string

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 database. How to convert this string to a valid PDF file?

Thank you very much.

Regards, Kael

Upvotes: 0

Views: 81

Answers (1)

Elise van Looij
Elise van Looij

Reputation: 4232

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.

Upvotes: 1

Related Questions