CoreUtils/Parser.h
2025-12-15 16:53:49 -08:00

29 lines
502 B
C++

#ifndef __Parser_h__
#define __Parser_h__
#include <fstream>
#include <vector>
namespace coreutils {
///
/// Use the StreamReader to read data from a socket and buffer it for use by
/// various stream parsers such as IMFMessage. The reader maintains data
/// consistency regardless of the packet delivery for the stream.
///
class Parser {
public:
Parser(int fd);
virtual ~Parser();
private:
vector<MString> buffer;
};
}
#endif