File packer producing strange error [Resolved]
The file packer I've made is doing something weird. When it extracts the packed files, it puts characters in the beginning of a file. For example, if a text file called Dog.txt has been packed like this:
Code:
Hello, I am a dog.
What are you?
It will extract like this:
Code:
% Hello, I am a dog.
What are you?
It does this on all file types, not just text files. Anyone know what could be going wrong?
File packer producing strange error [Resolved]
I got it finished without using a Byte array. The problem was because the array was declared as a Variant, so I removed the Split code completely and just parsed the data into a String array -- which turned out to be a lot faster anyway. Thanks for the help guys.