search for: write_hex32

Displaying 2 results from an estimated 2 matches for "write_hex32".

Did you mean: write_hex
2012 May 18
2
[LLVMdev] Fixed with hex numbers with raw_ostream
...the columns to line up, since the raw_ostream methods write numbers as variable length. I've worked up a patch that adds two new methods to raw_ostream: /// write_hex - Output \arg N as ten char hexadecimal string, including /// 0x prefix (e.g. 0x12345678 or 0x00000001). raw_ostream &write_hex32(uint32_t N); /// write_hex - Output \arg N as 18 char hexadecimal string, including /// 0x prefix (e.g. 0x0123456789abcdef or 0x0000000000000001). raw_ostream &write_hex64(uint64_t N); Is there already some way to do this level of formatting with raw_ostream? -------------- next part --...
2012 May 18
0
[LLVMdev] Fixed with hex numbers with raw_ostream
...ce the raw_ostream methods write numbers as variable length. > > I've worked up a patch that adds two new methods to raw_ostream: > > /// write_hex - Output \arg N as ten char hexadecimal string, including > /// 0x prefix (e.g. 0x12345678 or 0x00000001). > raw_ostream &write_hex32(uint32_t N); > > /// write_hex - Output \arg N as 18 char hexadecimal string, including > /// 0x prefix (e.g. 0x0123456789abcdef or 0x0000000000000001). > raw_ostream &write_hex64(uint64_t N); > > > Is there already some way to do this level of formatting with raw_ostrea...