Added BytesNeeded() functions to all the sniffer classes to allow
a pre-read data stream to be sniffed instead of actual files on disk. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1149 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -30,6 +30,7 @@ public:
|
||||
Err* GetErr() const;
|
||||
|
||||
bool Sniff(BPositionIO *data, bool caseInsensitive) const;
|
||||
ssize_t BytesNeeded() const;
|
||||
private:
|
||||
Range fRange;
|
||||
Pattern *fPattern;
|
||||
|
||||
Reference in New Issue
Block a user