|
rapidyaml
0.7.1
parse and emit YAML, and do it fast
|
Writes a value without checking the buffer length with regards to the required number of digits to encode the value. More...
Functions | |
| template<class T > | |
| void | c4::write_dec_unchecked (substr buf, T v, unsigned digits_v) noexcept |
| template<class T > | |
| void | c4::write_hex_unchecked (substr buf, T v, unsigned digits_v) noexcept |
| template<class T > | |
| void | c4::write_oct_unchecked (substr buf, T v, unsigned digits_v) noexcept |
| template<class T > | |
| void | c4::write_bin_unchecked (substr buf, T v, unsigned digits_v) noexcept |
Writes a value without checking the buffer length with regards to the required number of digits to encode the value.
It is the responsibility of the caller to ensure that the provided number of digits is enough to write the given value. Notwithstanding the name, assertions are liberally performed, so this code is safe.
|
inlinenoexcept |
Definition at line 608 of file charconv.hpp.
References c4::digits_dec().
Referenced by c4::itoa(), c4::utoa(), and c4::write_dec().
|
inlinenoexcept |
Definition at line 641 of file charconv.hpp.
References c4::digits_hex().
Referenced by c4::itoa(), c4::utoa(), and c4::write_hex().
|
inlinenoexcept |
Definition at line 657 of file charconv.hpp.
References c4::digits_oct().
Referenced by c4::itoa(), c4::utoa(), and c4::write_oct().
|
inlinenoexcept |
Definition at line 673 of file charconv.hpp.
References c4::digits_bin().
Referenced by c4::itoa(), c4::utoa(), and c4::write_bin().