posted 8 years ago
Reconstruction class and its method recoverfile gives us back an array of ascii values . Let say [49,78,69,59] . Now this array content i pass to the FileToBeTaken's method fileBack . This class and its method is given below :
Now what i do not get is why my file my.txt has no content in it ? i have a byte of array and with ascii values but the content its not going to the file and so the file is still empty.
I am wondering am i doing something wrong? Can anyone explain me how to solve this?