Remove: replace custom span with std::span

This commit is contained in:
Patric Stout
2024-01-16 22:46:00 +01:00
committed by Patric Stout
parent bb49112784
commit fd073a2810
15 changed files with 22 additions and 138 deletions

View File

@@ -15,12 +15,11 @@
#include <iosfwd>
#include "core/bitmath_func.hpp"
#include "core/span_type.hpp"
#include "string_type.h"
char *strecpy(char *dst, const char *src, const char *last) NOACCESS(3);
std::string FormatArrayAsHex(span<const byte> data);
std::string FormatArrayAsHex(std::span<const byte> data);
void StrMakeValidInPlace(char *str, const char *last, StringValidationSettings settings = SVS_REPLACE_WITH_QUESTION_MARK) NOACCESS(2);
[[nodiscard]] std::string StrMakeValid(std::string_view str, StringValidationSettings settings = SVS_REPLACE_WITH_QUESTION_MARK);