#include <storage_manager.h>
|
| ~StorageManager ()=default |
|
Result | Read (char const *name, std::uint8_t *data, std::uint32_t dataLength, std::uint32_t *read) |
|
void | ReadAsync (char const *name, std::function< void(Result, std::uint8_t *, std::uint32_t)> callback) |
|
void | ReadAsyncPartial (char const *name, std::uint64_t offset, std::uint64_t length, std::function< void(Result, std::uint8_t *, std::uint32_t)> callback) |
|
Result | Write (char const *name, std::uint8_t *data, std::uint32_t dataLength) |
|
void | WriteAsync (char const *name, std::uint8_t *data, std::uint32_t dataLength, std::function< void(Result)> callback) |
|
Result | Delete (char const *name) |
|
Result | Exists (char const *name, bool *exists) |
|
void | Count (std::int32_t *count) |
|
Result | Stat (char const *name, FileStat *stat) |
|
Result | StatAt (std::int32_t index, FileStat *stat) |
|
Result | GetPath (char path[4096]) |
|
◆ ~StorageManager()
discord::StorageManager::~StorageManager |
( |
| ) |
|
|
default |
◆ Count()
◆ Delete()
Result discord::StorageManager::Delete |
( |
char const * |
name | ) |
|
◆ Exists()
Result discord::StorageManager::Exists |
( |
char const * |
name, |
|
|
bool * |
exists |
|
) |
| |
◆ GetPath()
Result discord::StorageManager::GetPath |
( |
char |
path[4096] | ) |
|
◆ Read()
◆ ReadAsync()
◆ ReadAsyncPartial()
◆ Stat()
Result discord::StorageManager::Stat |
( |
char const * |
name, |
|
|
FileStat * |
stat |
|
) |
| |
◆ StatAt()
◆ Write()
◆ WriteAsync()
◆ Core
The documentation for this class was generated from the following files: