Re: Output raw bytes in karma
Stephan Menzel <[email protected]> Sat, 27 Oct 2018 08:07:42 +0200
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <CAEQ568toJz88+B80OYf+NqCkS31PQDw-VEpUHOBWmSeFfTQVgg@mail.gmail.com> |
On Fri, Oct 26, 2018 at 2:11 PM Stephan Menzel <[email protected]> wrote: > > // naive > os << karma::format(karma::string, binary_sample); > > Now I feel pretty stupid. Turns out string was working just fine all along. I simply didn't notice because I only looked at it in the debugger which insisted the streambuf ended at the null byte ;-) Sorry for the noise. Cheers, Stephan _______________________________________________ Spirit-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spirit-general