Skip to content
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

Blob has overhead bytes #3

Open
c4tz opened this issue Mar 21, 2014 · 0 comments
Open

Blob has overhead bytes #3

c4tz opened this issue Mar 21, 2014 · 0 comments

Comments

@c4tz
Copy link

c4tz commented Mar 21, 2014

Hello,

I just noticed the Blob one retrieves by RarArchive.get() contains an overhead.

Split archive with 4 Parts:
test1

Single Archive:
test2

One can solve this by using
blob = blob.slice(0, blob.size - (blob.size - val.sizePacked), blob.type);
in the callback function, where 'val' is the RarEntry passed to RarArchive.get().

I personally think it is produced somewhere in your validaton and/or reading of the bytes from the archive, but I couldnt figure out where exactly, yet. :(

(If I do, I will inform you, but as for now, this workaround will do the job for me.)

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

No branches or pull requests

1 participant