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

use blocksize for msiDataObjRead loop #40

Open
trel opened this issue Aug 26, 2024 · 2 comments
Open

use blocksize for msiDataObjRead loop #40

trel opened this issue Aug 26, 2024 · 2 comments

Comments

@trel
Copy link
Contributor

trel commented Aug 26, 2024

instead of maxsize, all at once

@trel trel mentioned this issue Aug 26, 2024
@korydraughn
Copy link

What does this mean exactly?

msiDataObjRead requires you to tell it how many bytes to read.

@trel
Copy link
Contributor Author

trel commented Aug 26, 2024

The current implementation of 'gether' just grabs all the data in a data object holding a schema in a single read. That could be 'too much', and this is to investigate looping through smaller reads to get the complete contents of the data object.

These files are relatively small (just JSON-Schema documents)... so this effort may prove to be overkill / not worth it.

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

No branches or pull requests

2 participants