#include <file_loader.h>
|
| static bool | write (const char *filePath, std::pair< const void *, size_t > cacheInfo) |
| |
Definition at line 25 of file file_loader.h.
◆ FileLoader()
| nndeploy::base::FileLoader::FileLoader |
( |
const char * |
file, |
|
|
bool |
init = false |
|
) |
| |
◆ ~FileLoader()
| nndeploy::base::FileLoader::~FileLoader |
( |
| ) |
|
◆ offset()
| int nndeploy::base::FileLoader::offset |
( |
int64_t |
offset | ) |
|
◆ path()
| std::string nndeploy::base::FileLoader::path |
( |
| ) |
const |
|
inline |
◆ read() [1/2]
| bool nndeploy::base::FileLoader::read |
( |
| ) |
|
◆ read() [2/2]
| bool nndeploy::base::FileLoader::read |
( |
char * |
buffer, |
|
|
int64_t |
size |
|
) |
| |
|
virtual |
◆ size()
| size_t nndeploy::base::FileLoader::size |
( |
| ) |
const |
|
inline |
◆ valid()
| bool nndeploy::base::FileLoader::valid |
( |
| ) |
const |
|
inline |
◆ write()
| static bool nndeploy::base::FileLoader::write |
( |
const char * |
filePath, |
|
|
std::pair< const void *, size_t > |
cacheInfo |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/nndeploy-zh/checkouts/latest/framework/include/nndeploy/base/file_loader.h