Write a dotted decimal string representing the address to a buffer
<include/boost/url/ipv4_address.hpp>
core::string_view
to_buffer(
char* dest,
std::size_t dest_size) const;
The resulting buffer is not null-terminated.
Name | Thrown on |
---|---|
`dest_size |
< ipv4_address::max_str_len` |
The formatted string
Name | Description |
---|---|
dest | The buffer in which to write, which must have at least `dest_size` space. |
dest_size | The size of the output buffer. |