2 * Copyright 2008, Jérôme Duval. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef ISTREAM_WRAPPER_H
6 #define ISTREAM_WRAPPER_H
11 #include "StreamBuffer.h"
15 class IStreamWrapper
: public IStream
{
17 IStreamWrapper(const char *filename
, BPositionIO
*stream
);
18 virtual ~IStreamWrapper();
20 virtual bool read(char c
[/*n*/], int n
);
21 virtual Int64
tellg();
22 virtual void seekg(Int64 pos
);
28 #endif /* ISTREAM_WRAPPER_H */