How to extract binary data from a File?
807605Aug 20 2007 — edited Aug 20 2007Hello there!
Hope I'm right here.
I have a slight problem with a file containing text- and binary-data. At the beginning of the file is only some text followed by some html-code and at the end is some binary stuff like a pdf oder an image (jpg/gif).
My problem is now how to split these parts and save them in the suitable format. The text and the html are no problem, but I don't know how to extract the binary data. I tried it out with an Inputstream, but I don't know how to find the exact position where the binary data begins.
Anyone have an idea how I can solve this?
Thanks in advance and sorry for my bad english.