#include <mp/util.h>
#include <concepts>
#include <span>
Go to the source code of this file.
|
| | mp |
| | Functions to serialize / deserialize common bitcoin types.
|
| |
|
| template<typename LocalType , typename Value , typename Output > |
| void | mp::CustomBuildField (TypeList< LocalType >, Priority< 2 >, InvokeContext &invoke_context, Value &&value, Output &&output) requires(std |
| | Generic ::capnp::Data field builder for any C++ type that can be converted to a span of bytes, like std::vector<char> or std::array<uint8_t>, or custom blob types like uint256 or PKHash with data() and size() methods pointing to bytes. More...
|
| |
| template<typename LocalType , typename Input , typename ReadDest > |
| decltype(auto) | mp::CustomReadField (TypeList< LocalType >, Priority< 2 >, InvokeContext &invoke_context, Input &&input, ReadDest &&read_dest) requires(std |
| |