|
Foundation
|
Go to the source code of this file.
Namespaces | |
| namespace | Foundation |
| namespace | Foundation::Native |
| Platform-dependent application abstractions. | |
| namespace | std |
| namespace | std::filesystem |
Typedefs | |
| using | Foundation::Native::Path = std::filesystem::path |
| OS specific filesystem path. Alias of std::filesystem::path. | |
| using | Foundation::Native::ByteArray = Core::Vector< char > |
| Vector of bytes. Alias of Core::Vector<char> | |
| using | Foundation::Native::Bytes = Core::Span< const char > |
| Span of bytes. Alias of Core::Span<const char> | |
Functions | |
| size_t | Foundation::Native::GetFileSize (Path const &path) |
| size_t | Foundation::Native::ReadFile (Path const &path, ByteArray &data) |
| Reads the entire contents of a file into a byte vector. | |
| size_t | Foundation::Native::WriteFile (Path const &path, Bytes data) |
| Writes the entire contents of a byte vector to a file. | |
| auto | std::filesystem::format_as (path const &p) |