@ -104,4 +104,11 @@ namespace Files
{
delete rdbuf();
}
IStreamPtr openConstrainedFileStream(const char *filename,
size_t start, size_t length)
return IStreamPtr(new ConstrainedFileStream(filename, start, length));
@ -19,11 +19,7 @@ public:
typedef boost::shared_ptr<std::istream> IStreamPtr;
size_t start=0, size_t length=0xFFFFFFFF)
IStreamPtr openConstrainedFileStream(const char *filename, size_t start=0, size_t length=0xFFFFFFFF);