[Solved] Save an unsigned char vector one by one
[ad_1] Use output.put(i); since it takes one character at a time. But you really want to skip the for-loop and just write the whole vector in one write: output.write(f.data(), f.size()); 2 [ad_2] solved Save an unsigned char vector one by one