diff options
Diffstat (limited to 'contrib/epee/include/hex.h')
-rw-r--r-- | contrib/epee/include/hex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/epee/include/hex.h b/contrib/epee/include/hex.h index d9eb93d51..d27c127c1 100644 --- a/contrib/epee/include/hex.h +++ b/contrib/epee/include/hex.h @@ -67,6 +67,9 @@ namespace epee return out; } + //! Write `src` as hex to `out`. `out` must be exactly 2x in size. + static bool buffer(span<char> out, const span<const std::uint8_t> src) noexcept; + //! Append `src` as hex to `out`. static void buffer(std::ostream& out, const span<const std::uint8_t> src); |