parser.h
Go to the documentation of this file.
1 #pragma once
2 
3 template <typename T>
4 class Parser
5 {
6 public:
7  virtual bool parse(uint8_t* buf, size_t buf_len, std::vector<std::unique_ptr<T>>& results, size_t& used) = 0;
8 };
virtual bool parse(uint8_t *buf, size_t buf_len, std::vector< std::unique_ptr< T >> &results, size_t &used)=0
Definition: parser.h:4


pf_driver
Author(s): Harsh Deshpande
autogenerated on Fri Feb 24 2023 03:59:35