| Disk ARchive 2.6.12 Full featured and portable backup and archiving tool

Public Member Functions | Private Attributes | List of all members
libdar::messaging_decode Class Reference
Private

decoding received messages More...

`#include <messaging.hpp>`

## Public Member Functions
| messaging_decode (const messaging_decode &ref)=default
| messaging_decode (messaging_decode &&ref) noexcept=default
messaging_decode & | operator= (const messaging_decode &ref)=default
messaging_decode & | operator= (messaging_decode &&ref) noexcept=default
void | clear ()
| reset the object to its initial state
bool | add_block (const char *x_input, U_I x_size)
msg_type | get_type () const
| get the type of message pointed to at construction time
infinint | get_infinint () const
| for messages of type order_skip, answr_filesize, order_read_ahead, answr_filesize,
U_I | get_U_I () const
| for messages of type order_read
std::string | get_string () const
| for messages of type order_set_context
bool | get_bool () const
| for messages of type anwsr_oldarchive
label | get_label () const
| for messages of type answr_get_dataname,

## Private Attributes
msg_type | msgt
memory_file | buffer

## Detailed Description

decoding received messages

Definition at line 85 of file messaging.hpp.

## Member Function Documentation

## ◆ add_block()

bool libdar::messaging_decode::add_block | ( | const char * | x_input,
|  | U_I | x_size
| ) |  |

add a block of data to be decoded

Parameters

  [in] | x_input | is the address of the message to add
  [in] | x_size | is the size of the message to add

Returns
  true if the message is complet, false if a new block need to be added with this call in order to decode the message

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

- messaging.hpp