You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include "bxzstr.hpp"
#include <iostream>
int main(int argc, char** argv){
bxz::ofstream out("test.gz", bxz::z, 1);
for(long long i = 0; i < 10; i++){
out << i << "\n";
}
out.close();
}
closing the file will not write anything (test.gz will be zero bytes). Flushing the stream and then closing will perform the write but using either separately fails.
The text was updated successfully, but these errors were encountered:
When run with the code
closing the file will not write anything (test.gz will be zero bytes). Flushing the stream and then closing will perform the write but using either separately fails.
The text was updated successfully, but these errors were encountered: