ITKnightMare
asked on
Why does Output's Print function when writing to file put "0D 0A" in the end of file?
Open "MyFile.jpg" For Output As #1
Print #1, strRawJpegFile
Close #1
Doing this people here told me was the fastest way of writing into file. But I open the jpeg up in hex and function puts "0D 0A" the CRLF I am assuming at the very end of the file. What would I need to use to write a file from a string fast, yet without having 2 new bytes in the end of it.
Print #1, strRawJpegFile
Close #1
Doing this people here told me was the fastest way of writing into file. But I open the jpeg up in hex and function puts "0D 0A" the CRLF I am assuming at the very end of the file. What would I need to use to write a file from a string fast, yet without having 2 new bytes in the end of it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Open "MyFile.jpg" For Output As #1
Print #1, strRawJpegFile;
Close #1
worked. So first comment gets the points :)