mirror of
https://github.com/monero-project/monero.git
synced 2025-08-18 21:17:57 -04:00
Add to_hex::buffer
This commit is contained in:
parent
94e67bf96b
commit
eb943562cb
3 changed files with 27 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue