|
rapidyaml 0.14.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. | |
| template<class T> | |
| size_t | c4::write_hex (substr buf, T v) noexcept |
| write an integer to a string in hexadecimal format. | |
| template<class T> | |
| size_t | c4::write_oct (substr buf, T v) noexcept |
| write an integer to a string in octal format. | |
| template<class T> | |
| size_t | c4::write_bin (substr buf, T v) noexcept |
| write an integer to a string in binary format. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
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 715 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 734 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 753 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 772 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 813 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 822 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 831 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 840 of file charconv.hpp.