We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using struct to write the header of binary files. If the struct template is Header, is it ok to do:
Header.allocate(); var data1=Header.buffer();
fill data1 with my settings, and then do again
Header.allocate(); var data2=Header.buffer();
to create file number 2?
The text was updated successfully, but these errors were encountered:
There is no sense to call allocate twice on same instance. Reuse old buffer, create new instance, or use _setBuffer method
Sorry, something went wrong.
No branches or pull requests
I am using struct to write the header of binary files. If the struct template is Header, is it ok to do:
Header.allocate();
var data1=Header.buffer();
fill data1 with my settings, and then do again
Header.allocate();
var data2=Header.buffer();
to create file number 2?
The text was updated successfully, but these errors were encountered: