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

Unknown block Exception #7

Open
Mike-3 opened this issue Jan 11, 2022 · 3 comments
Open

Unknown block Exception #7

Mike-3 opened this issue Jan 11, 2022 · 3 comments

Comments

@Mike-3
Copy link

Mike-3 commented Jan 11, 2022

test1.rar.zip
Hallo,

i have a problem with this rar file. I habe a Unknown block exception (problem HEAD_TYPE is 24). Have you a solution for this problem ?
Thanks.

Mike

@moepanda
Copy link

+1

@renehw
Copy link

renehw commented May 10, 2022

Same problem here.

@zlkrnynkrc
Copy link

zlkrnynkrc commented Oct 30, 2024

same here and i corrected with
class VINT {
final List _ints = [];

int get result {
int value = 0;
for (int i = 0; i < _ints.length; i++) {
value |= (_ints[i] << (i * 7));
}
return value;
}

VINT.fromFile(RandomAccessFile file) {
bool continuationFlag;
do {
int byte = file.readByteSync();
_ints.add(byte & 0x7F);
continuationFlag = (byte & 0x80) != 0;
} while (continuationFlag);
}}
works 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

4 participants