|
rapidyaml
0.16.0
parseandemitYAML,anddoitfast
|
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 614 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), and c4::write_dec().
|
inlinenoexcept |
Definition at line 647 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), and c4::write_hex().
|
inlinenoexcept |
Definition at line 663 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), and c4::write_oct().
|
inlinenoexcept |
Definition at line 679 of file charconv.hpp.
Referenced by c4::itoa(), c4::utoa(), and c4::write_bin().