xdrpp
RFC4506 XDR compiler and message library
|
Numeric marshaling mixin that byteswaps all numeric values (thus producing RFC4506 output on a little-endian machine). More...
#include <marshal.h>
Static Public Member Functions | |
static void | put32 (std::uint32_t *&p, std::uint32_t v) |
static void | put64 (std::uint32_t *&p, u64conv u) |
static std::uint32_t | get32 (const std::uint32_t *&p) |
static std::uint64_t | get64 (const std::uint32_t *&p) |
Static Public Member Functions inherited from xdr::marshal_base | |
static void | get_bytes (const std::uint32_t *&pr, void *buf, std::size_t len) |
Copy len bytes to buf, then consume 0-3 bytes of padding to make the total number of bytes consumed divisible by 4. More... | |
static void | put_bytes (std::uint32_t *&pr, const void *buf, std::size_t len) |
Copy len bytes from buf, then add 0-3 zero-valued padding bytes to make the overall marshaled length a multiple of 4. More... | |
Numeric marshaling mixin that byteswaps all numeric values (thus producing RFC4506 output on a little-endian machine).