pars 0.2.1.99
Loading...
Searching...
No Matches
nngxx::msg_header Struct Reference

#include <msg_header.h>

Public Member Functions

 msg_header (nng_msg *m) noexcept
 
std::size_t size () const noexcept
 

Detailed Description

Definition at line 37 of file msg_header.h.

Constructor & Destructor Documentation

◆ msg_header()

nngxx::msg_header::msg_header ( nng_msg * m)
inlinenoexcept

Definition at line 39 of file msg_header.h.

40 : m{m}
41 {
42 }

Member Function Documentation

◆ size()

std::size_t nngxx::msg_header::size ( ) const
inlinenodiscardnoexcept

Definition at line 44 of file msg_header.h.

45 {
46 return nng_msg_header_len(m);
47 }

The documentation for this struct was generated from the following file: