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 intented to get buffer size from ostream, after performing the method "GetBufferStream"
std::string bufferStr; for (auto ele : doc.bufferViews.Elements()) { // std::stringstream std::ostream* ostrem = glbResourceWriter->GetBufferStream(ele.id); (*ostrem) << bufferStr; bufferStr += bufferStr; } bin_out.append(bufferStr.data(), bufferStr.data() + bufferStr.length());
the issue is that value of bufferStr is awalys empty or null, therefore, it is impossible to calculate the buffer size and data from the bufferStr.
the screenshot of result:
it's appreciated if you can reply my question.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am intented to get buffer size from ostream, after performing the method "GetBufferStream"
std::string bufferStr; for (auto ele : doc.bufferViews.Elements()) { // std::stringstream std::ostream* ostrem = glbResourceWriter->GetBufferStream(ele.id); (*ostrem) << bufferStr; bufferStr += bufferStr; } bin_out.append(bufferStr.data(), bufferStr.data() + bufferStr.length());
the issue is that value of bufferStr is awalys empty or null, therefore, it is impossible to calculate the buffer size and data from the bufferStr.
the screenshot of result:
it's appreciated if you can reply my question.
The text was updated successfully, but these errors were encountered: