[llvm-dev] Writing to llvm::raw_ostream

Yugesh Kothari via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 22 16:57:58 PDT 2020


Hi, for a certain use case I need to write byte streams to an
llvm::raw_ostream (similar to how it can be done fo std::ofstream(fileName,
std::ios::binary) ).

Is there a way to do that?

As a second part to the same question, is it possible to set seek to a
particular position for an llvm::raw_ostream. Even that would work for me.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200723/0476cd0d/attachment.html>


More information about the llvm-dev mailing list