TeaPacket v0.0.1
Multiplatform Game Engine
Loading...
Searching...
No Matches
AssetReader.hpp
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include <vector>
4
7{
9 std::string ReadTextAsset(const std::string& path);
11 std::vector<char> ReadAllBytesFromAsset(const std::string& path);
12}
Functionality relating to files.
Definition AssetReader.hpp:7
std::vector< char > ReadAllBytesFromAsset(const std::string &path)
Read the raw bytes from an Asset in the Asset Registry.
std::string ReadTextAsset(const std::string &path)
Read an asset from the Asset Registry in plain text form.