Core/Data/Stream/IFS/ArchiveStream.h
Go to the documentation of this file.
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/anakod/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * ArchiveStream.h
8  *
9  * @author mikee47 <mike@sillyhouse.net> April 2021
10  *
11  *
12  ****/
13 
14 #pragma once
15 
16 #include <IFS/FWFS/ArchiveStream.h>
17 #include <FileSystem.h>
18 
20 {
21 public:
23 
24  ArchiveStream(VolumeInfo volumeInfo, String rootPath = nullptr, Flags flags = 0)
25  : ArchiveStream(::getFileSystem(), volumeInfo, rootPath, flags)
26  {
27  }
28 };
Definition: Core/Data/Stream/IFS/ArchiveStream.h:20
ArchiveStream(VolumeInfo volumeInfo, String rootPath=nullptr, Flags flags=0)
Definition: Core/Data/Stream/IFS/ArchiveStream.h:24
Supports direct streaming into FWFS archive format.
Definition: Components/IFS/src/include/IFS/FWFS/ArchiveStream.h:51
ArchiveStream(FileSystem *fileSystem, const VolumeInfo &volumeInfo, const String &rootPath=nullptr, Flags flags=0)
Construct an archive stream.
Definition: Components/IFS/src/include/IFS/FWFS/ArchiveStream.h:132
FileSystem * getFileSystem() const
Definition: FsBase.h:63
The String class.
Definition: WString.h:137
Definition: Components/IFS/src/include/IFS/FWFS/ArchiveStream.h:61