Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am looking for a simple piece of code that will allow me to extract everything EXCEPT the tags. In otherwords, I want to either read into memory or create a file that has none of the tags. I can detect whether it has either type 1 or type 2 tags, and I understand that the type 1 tag is at the end and is something like 127 bytes if present. While the type 2 tag is at the front but is a varying length.
So, TAG2 & data & TAG1... right?
All I want is 'data' from the middle.