Packet consumer that supports variable sized packets. More...
#include <consumer.h>
Public Member Functions | |
unsigned | get_buffer (unsigned char *&buffer) |
Get a pointer to a the buffer and return the length of the buffer. | |
void | free_buffer () |
Packet consumer that supports variable sized packets.
void PacketConsumer< SIZE >::free_buffer | ( | ) | [inline] |
Reimplemented from Consumer< unsigned, SIZE >.
unsigned PacketConsumer< SIZE >::get_buffer | ( | unsigned char *& | buffer | ) | [inline] |
Get a pointer to a the buffer and return the length of the buffer.