| PcapPlusPlus
    22.05
    | 
#include <Layer.h>
 
  
 | Public Member Functions | |
| virtual uint8_t * | getDataPtr (size_t offset=0) const =0 | 
An interface (virtual abstract class) that indicates an object that holds a pointer to a buffer data. The Layer class is an example of such object, hence it inherits this interface
| 
 | pure virtual | 
Get a pointer to the data
| [in] | offset | Get a pointer in a certain offset. Default is 0 - get a pointer to start of data | 
Implemented in pcpp::Layer.