Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

FZipFile.setContent #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

FZipFile.setContent #6

wants to merge 1 commit into from

Conversation

emtege
Copy link

@emtege emtege commented May 6, 2011

I have noticed a strange behavior when trying to substitute the content-property of FZipFile:
After applying the new ByteArray, the file represented a mix of the old and new data. I looked at the sources and realized, if the new content has a length smaller than the old, the remaining bytes from the old ByteArray will be kept because they are never cleared.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants