Pictel 2d 0.1
Game Engine Documentation
|
Public Member Functions | |
FileMemoryBufferStreamFromFile (std::string filename) | |
int64_t | Seek (int64_t offset, int whence) |
size_t | Read (void *ptr, size_t size, size_t maxnum) |
std::string | ReadBufferString () |
FILE * | GetFP () |
![]() | |
FileStreamI (std::string filename) | |
std::string & | GetFilename () |
int64_t & | GetSize () |
Additional Inherited Members | |
![]() | |
std::string | m_filename |
int64_t | m_size |
Mapped file system onto the FileMemoryBufferStreamI when no packed data exists.
|
inlinevirtual |
Direct access to the file. Do not close by yourself.
Implements engine::FileStreamI.
|
virtual |
Read up to maxnum
objects each of size size
from the data stream to the area pointed at by ptr
.
Implements engine::FileStreamI.
|
virtual |
Helper to read the whole file as string
Implements engine::FileStreamI.
|
virtual |
Seek to offset
relative to whence
, one of stdio's whence values: RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END
Implements engine::FileStreamI.