Read a plaintext file (file size <= 100 KB)
More...
#include <ssgx_filesystem_t.h>
|
| | PlainFileReader (std::string filepath) |
| | Construct a PlainFileReader and initialized it.
|
| |
| std::vector< uint8_t > | ReadAllBytes () const |
| | Read a plaintext binary file, the max file size is 100KB.
|
| |
| std::string | ReadAllText () const |
| | Read a plaintext text file, the max file size is 100KB.
|
| |
Read a plaintext file (file size <= 100 KB)
◆ PlainFileReader()
| ssgx::filesystem_t::PlainFileReader::PlainFileReader |
( |
std::string | filepath | ) |
|
|
inlineexplicit |
◆ ReadAllBytes()
| std::vector< uint8_t > ssgx::filesystem_t::PlainFileReader::ReadAllBytes |
( |
| ) |
const |
Read a plaintext binary file, the max file size is 100KB.
- Returns
- Return the file content, in bytes.
- Exceptions
-
◆ ReadAllText()
| std::string ssgx::filesystem_t::PlainFileReader::ReadAllText |
( |
| ) |
const |
Read a plaintext text file, the max file size is 100KB.
- Returns
- Return the file content, in string.
- Exceptions
-
The documentation for this class was generated from the following file: