| 1736 | |
| 1737 | template <typename Char, align default_align = align::left, typename OutputIt> |
| 1738 | FMT_CONSTEXPR auto write_bytes(OutputIt out, string_view bytes, |
| 1739 | const format_specs& specs = {}) -> OutputIt { |
| 1740 | return write_padded<Char, default_align>( |
| 1741 | out, specs, bytes.size(), [bytes](reserve_iterator<OutputIt> it) { |
| 1742 | const char* data = bytes.data(); |
| 1743 | return copy<Char>(data, data + bytes.size(), it); |
| 1744 | }); |
| 1745 | } |
| 1746 | |
| 1747 | template <typename Char, typename OutputIt, typename UIntPtr> |
| 1748 | auto write_ptr(OutputIt out, UIntPtr value, const format_specs* specs) |