Galactic Bloodshed
Functions
fileutils.cc File Reference
#include "gb/utils/fileutils.h"
Include dependency graph for fileutils.cc:

Go to the source code of this file.

Functions

void InitFile (const std::string &path, void *buffer, size_t len)
 
void EmptyFile (const std::string &path)
 

Function Documentation

◆ EmptyFile()

void EmptyFile ( const std::string &  path)

Definition at line 22 of file fileutils.cc.

◆ InitFile()

void InitFile ( const std::string &  path,
void *  buffer = nullptr,
size_t  length = 0 
)

Helper utils and classes for making common operations with files eaiser.

Definition at line 8 of file fileutils.cc.