I have a string with file content .
But my function deals with file path on the disc .
Any idea how i can solve this problem without writing to the disc my file content ?
Thanks for help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would say, overload your function so that it also takes filecontent as a parameter also?
If you can’t alter the function and there is no other way, if it needs performance. Create a ram disk to write and read the file from.