src/common/tag-buffer.h
changeset 3045 895cb1b6a903
parent 3041 a624276a897b
child 3049 519a31d1729f
equal deleted inserted replaced
3044:2887b34f4769 3045:895cb1b6a903
     3 
     3 
     4 #include <stdint.h>
     4 #include <stdint.h>
     5 
     5 
     6 namespace ns3 {
     6 namespace ns3 {
     7 
     7 
       
     8 /**
       
     9  * \brief read and write tag data
       
    10  *
       
    11  * This class allows subclasses of the ns3::Tag base class
       
    12  * to serialize and deserialize their data.
       
    13  */
     8 class TagBuffer
    14 class TagBuffer
     9 {
    15 {
    10 public:
    16 public:
    11   TagBuffer (uint8_t *start, uint8_t *end);
    17   TagBuffer (uint8_t *start, uint8_t *end);
    12   void TrimAtEnd (uint32_t trim);
    18   void TrimAtEnd (uint32_t trim);