Update ::wire:: to be closer to Monero variant (#70)

This commit is contained in:
Lee *!* Clagett
2023-06-07 09:01:46 -04:00
committed by Lee *!* Clagett
parent 3e0555e07d
commit e1bd9541f1
36 changed files with 992 additions and 587 deletions

View File

@@ -147,10 +147,10 @@ namespace wire
if (expected_)
throw std::logic_error{"msgpack_writer::take_msgpack() failed with incomplete tree"};
}
epee::byte_slice msgpack_writer::take_msgpack()
epee::byte_stream msgpack_writer::take_msgpack()
{
check_complete();
epee::byte_slice out{std::move(bytes_)};
epee::byte_stream out{std::move(bytes_)};
bytes_.clear();
return out;
}