File.hpp
Go to the documentation of this file.
const std::string & getMineType() const
Get the mine type of the file.
Definition: File.hpp:57
const std::vector< uint8_t > & getData() const
get a rérérence of the data
Definition: File.hpp:78
int32_t getTheoricFileSize() const
get the théoric file size
Definition: File.hpp:45
void preSetDataSize(uint64_t _size)
préallocate the data
Definition: File.hpp:71
const std::string & getFileName() const
Get the filename registered.
Definition: File.hpp:116
void setMineType(const std::string &_type)
Set the mine type of the file.
Definition: File.hpp:64
void setData(uint64_t _offset, const std::vector< uint8_t > &_data)
Set data on the buffer.