MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / write_bytes

Function write_bytes

source/extern/fmt/format.h:1755–1762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1753
1754template <align::type align = align::left, typename Char, typename OutputIt>
1755FMT_CONSTEXPR auto write_bytes(OutputIt out, string_view bytes,
1756 const format_specs<Char>& specs) -> OutputIt {
1757 return write_padded<align>(
1758 out, specs, bytes.size(), [bytes](reserve_iterator<OutputIt> it) {
1759 const char* data = bytes.data();
1760 return copy_str<Char>(data, data + bytes.size(), it);
1761 });
1762}
1763
1764template <typename Char, typename OutputIt, typename UIntPtr>
1765auto write_ptr(OutputIt out, UIntPtr value, const format_specs<Char>* specs)

Callers 4

formatFunction · 0.85
writeMethod · 0.85
formatMethod · 0.85
write_null_pointerMethod · 0.85

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected