-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RootStorage Delete Unable to delete content #94
Comments
When I use CFSConfiguration.EraseFreeSectors is used, it just replaces byte with 0xFF, and cannot free space to reduce the file size. |
Sorry for the delayed response @wf-soft.
I've added a test to give an example of a possible strategy for file size reduction
I hope this example may clarify the point. |
Added example for #94 |
@ironfede What I am currently using is to copy the content to a new CompoundFile and save it. I will try your solution, Thank you for your answer |
In this way, I can only delete the block name, but not the data. When I use SetData and then Commit, the file will keep growing every time I save it
The text was updated successfully, but these errors were encountered: