early-access version 1818

This commit is contained in:
pineappleEA
2021-06-24 01:31:27 +02:00
parent 11b1d1062a
commit 8861a4d061
108 changed files with 53166 additions and 8823 deletions

View File

@@ -53,8 +53,9 @@ template <typename ContiguousContainer>
std::string out;
out.reserve(std::size(data) * pad_width);
const auto format_str = fmt::runtime(upper ? "{:02X}" : "{:02x}");
for (const u8 c : data) {
out += fmt::format(upper ? "{:02X}" : "{:02x}", c);
out += fmt::format(format_str, c);
}
return out;