forked from such-gitea/wownero-lws
Added unit tests, and fixed two bugs: (#53)
* Integer conversion checks in src/wire/read.h * Missing "boolean" function in wire::writer and derived types
This commit is contained in:
committed by
Lee *!* Clagett
parent
d233c72b5e
commit
c958ac7963
@@ -85,6 +85,8 @@ namespace wire
|
||||
//! \return Null-terminated buffer containing uint as decimal ascii
|
||||
static std::array<char, uint_to_string_size> to_string(std::uintmax_t) noexcept;
|
||||
|
||||
void boolean(bool) override final;
|
||||
|
||||
void integer(int) override final;
|
||||
void integer(std::intmax_t) override final;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user