xdrpp
RFC4506 XDR compiler and message library
Static Public Member Functions | List of all members
xdr::marshal_swap Struct Reference

Numeric marshaling mixin that byteswaps all numeric values (thus producing RFC4506 output on a little-endian machine). More...

#include <marshal.h>

Inheritance diagram for xdr::marshal_swap:
Inheritance graph
[legend]
Collaboration diagram for xdr::marshal_swap:
Collaboration graph
[legend]

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...
 

Detailed Description

Numeric marshaling mixin that byteswaps all numeric values (thus producing RFC4506 output on a little-endian machine).

Definition at line 58 of file marshal.h.


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