8 #ifndef DBUSCXX_MARSHALING_H
9 #define DBUSCXX_MARSHALING_H
44 void set_data( std::vector<uint8_t>* data );
62 void align(
int alignment );
Implements the marshaling algorithms on a given vector of data.
Definition: marshaling.h:27
void align(int alignment)
Definition: marshaling.cpp:142
void marshalIntLittle(uint32_t toMarshal)
Definition: marshaling.cpp:187
std::shared_ptr< priv_data > m_priv
Definition: marshaling.h:84
void set_data(std::vector< uint8_t > *data)
Set the data vector to marshal/demarshal.
Definition: marshaling.cpp:207
void marshal_at_offset(uint32_t offset, uint32_t value)
Marshal a uint32_t value at the given offset.
Definition: marshaling.cpp:232
void marshalLongBig(uint64_t toMarshal)
Definition: marshaling.cpp:169
void marshalIntBig(uint32_t toMarshal)
Definition: marshaling.cpp:161
void set_endianess(Endianess endian)
Definition: marshaling.cpp:211
~Marshaling()
Definition: marshaling.cpp:41
void marshalShortBig(uint16_t toMarshal)
Definition: marshaling.cpp:155
void marshalLongLittle(uint64_t toMarshal)
Definition: marshaling.cpp:195
uint32_t currentOffset() const
Definition: marshaling.cpp:246
void marshalShortLittle(uint16_t toMarshal)
Definition: marshaling.cpp:181
void marshal(bool v)
Definition: marshaling.cpp:44
Marshaling()
Definition: marshaling.cpp:31
Represents a DBus Path.
Definition: path.h:21
Represents a DBus signature.
Definition: signature.h:74
A Variant is a type-safe union for DBus operations.
Definition: variant.h:42
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18
Endianess
Definition: enums.h:114