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

PR_STRING32 Read #91

Open
plakapenka opened this issue Jun 13, 2024 · 0 comments
Open

PR_STRING32 Read #91

plakapenka opened this issue Jun 13, 2024 · 0 comments

Comments

@plakapenka
Copy link

plakapenka commented Jun 13, 2024

PR_STRING32

BS_WriteValue(bs, PR_STRING32, str);

заменяет

BS_WriteValue(bs, PR_UINT32, strlen(str));
BS_WriteValue(bs, PR_STRING, str, strlen(str));

это работает отлично и удобно.

На read я ожидаю увидеть тоже самое, но нет...

BS_ReadValue(bs, PR_STRING32, str);

не работает

BS_ReadValue(bs, PR_UINT32, len);
BS_ReadValue(bs, PR_STRING, str, len);

а этот код работает отлично

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