6#ifndef BITCOIN_NETMESSAGEMAKER_H
7#define BITCOIN_NETMESSAGEMAKER_H
18 template <
typename... Args>
20 Args &&...args)
const {
22 msg.
m_type = std::move(msg_type);
24 std::forward<Args>(args)...};
28 template <
typename... Args>
30 return Make(0, std::move(msg_type), std::forward<Args>(args)...);
CNetMsgMaker(int nVersionIn)
CSerializedNetMsg Make(int nFlags, std::string msg_type, Args &&...args) const
CSerializedNetMsg Make(std::string msg_type, Args &&...args) const
Minimal stream for overwriting and/or appending to an existing byte vector.
std::vector< uint8_t > data