Still parsing work.

This commit is contained in:
Brad Arant committed 2026-01-05 16:49:41 -08:00
1 parent d79697775b
commit ba85c5f2e5
6 files changed
+21 -56

No files matched your search

-33
View File
@@ -1,33 +0,0 @@
#ifndef __StreamReader_h__
#define __StreamReader_h__
#include "MString.h"
#include "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 StreamReader {
public:
StreamReader(int fd, Parser *parser);
virtual ~StreamReader();
int read();
private:
int fd;
vector<MString> buffer;
};
}
#endif