17 #ifndef PINGREQUEST_HPP_
18 #define PINGREQUEST_HPP_
33 std::copy(reinterpret_cast<const std::uint8_t *>(header),
34 reinterpret_cast<const std::uint8_t *>(header + 2),
39 const std::vector<std::uint8_t>&
getRawMessage()
const {
return message_; }
42 std::vector<std::uint8_t> message_;
const std::vector< std::uint8_t > & getRawMessage() const
static std::uint8_t createBasicHeader(std::uint8_t messageType, std::uint32_t length, char *message)