|
rapidyaml
0.13.0
parse and emit YAML, and do it fast
|
Writes a value without checking the buffer length decimal number – but asserting. More...
Functions | |
| template<class T > | |
| size_t | c4::write_dec (substr buf, T v) noexcept |
| write an integer to a string in decimal format. More... | |
| template<class T > | |
| size_t | c4::write_hex (substr buf, T v) noexcept |
| write an integer to a string in hexadecimal format. More... | |
| template<class T > | |
| size_t | c4::write_oct (substr buf, T v) noexcept |
| write an integer to a string in octal format. More... | |
| template<class T > | |
| size_t | c4::write_bin (substr buf, T v) noexcept |
| write an integer to a string in binary format. More... | |
| template<class T > | |
| size_t | c4::write_dec (substr buf, T val, size_t num_digits) noexcept |
same as c4::write_dec(), but pad with zeroes on the left such that the resulting string is num_digits wide. More... | |
| template<class T > | |
| size_t | c4::write_hex (substr buf, T val, size_t num_digits) noexcept |
same as c4::write_hex(), but pad with zeroes on the left such that the resulting string is num_digits wide. More... | |
| template<class T > | |
| size_t | c4::write_bin (substr buf, T val, size_t num_digits) noexcept |
same as c4::write_bin(), but pad with zeroes on the left such that the resulting string is num_digits wide. More... | |
| template<class T > | |
| size_t | c4::write_oct (substr buf, T val, size_t num_digits) noexcept |
same as c4::write_oct(), but pad with zeroes on the left such that the resulting string is num_digits wide. More... | |
Writes a value without checking the buffer length decimal number – but asserting.
|
inlinenoexcept |
write an integer to a string in decimal format.
This is the lowest level (and the fastest) function to do this task.
Definition at line 701 of file charconv.hpp.
|
inlinenoexcept |
write an integer to a string in hexadecimal format.
This is the lowest level (and the fastest) function to do this task.
Definition at line 720 of file charconv.hpp.
|
inlinenoexcept |
write an integer to a string in octal format.
This is the lowest level (and the fastest) function to do this task.
Definition at line 739 of file charconv.hpp.
|
inlinenoexcept |
write an integer to a string in binary format.
This is the lowest level (and the fastest) function to do this task.
Definition at line 758 of file charconv.hpp.
|
inlinenoexcept |
same as c4::write_dec(), but pad with zeroes on the left such that the resulting string is num_digits wide.
If the given number requires more than num_digits, then the number prevails.
Definition at line 799 of file charconv.hpp.
|
inlinenoexcept |
same as c4::write_hex(), but pad with zeroes on the left such that the resulting string is num_digits wide.
If the given number requires more than num_digits, then the number prevails.
Definition at line 808 of file charconv.hpp.
|
inlinenoexcept |
same as c4::write_bin(), but pad with zeroes on the left such that the resulting string is num_digits wide.
If the given number requires more than num_digits, then the number prevails.
Definition at line 817 of file charconv.hpp.
|
inlinenoexcept |
same as c4::write_oct(), but pad with zeroes on the left such that the resulting string is num_digits wide.
If the given number requires more than num_digits, then the number prevails.
Definition at line 826 of file charconv.hpp.