Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
fireworks::utils::FileUtils Class Reference

A utility class to load various types of files. More...

#include <fileutils.h>

Static Public Member Functions

static std::string read_file (const char *filepath)
 Reads the contents of the file and converts into stream of bytes. More...
 

Detailed Description

A utility class to load various types of files.

Member Function Documentation

◆ read_file()

static std::string fireworks::utils::FileUtils::read_file ( const char *  filepath)
inlinestatic

Reads the contents of the file and converts into stream of bytes.

Parameters
filepathThe path of the file to read the data from

The documentation for this class was generated from the following file: