mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Several classes now use PDUOption::length_field instead of data_size.
This commit is contained in:
@@ -153,7 +153,12 @@ public:
|
||||
/**
|
||||
* \brief Retrieves the data length field.
|
||||
*
|
||||
* This may be different to the actual size of the data.
|
||||
* This may be different to the actual size of the data. Note that
|
||||
* in some protocols, such as TCP, the size of the length and the
|
||||
* identifier fields is added to this field before serializing.
|
||||
* Therefore, if on one of such protocols, an option's length_field
|
||||
* returns X, then the actual length included in the serialized
|
||||
* option will be X + C, where C is the size of those fields.
|
||||
*
|
||||
* \sa data_size.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user