|
| BinaryFile (const File &file) |
|
const Buffer< uint01, uint08 > & | cachedData () const |
|
void | cachedOpen (bool read) |
|
void | close () |
|
BinaryCompressionObject | createCompressionObject () |
|
uint08 | fileSize () const |
|
bool | isFinished () |
|
void | open (bool read, bool safe) |
|
fltp04 | percent () |
|
uint08 | position () |
|
template<class t_type > |
t_type | read () |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
void | read (Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data) |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
std::enable_if< ObjectInfo< t_type >::Buffer >::type | read (Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data, bool &allow_multithread) |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
std::enable_if<!ObjectInfo< t_type >::Buffer >::type | read (Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data, bool &allow_multithread) |
|
uint04 | readData (char *string, uint04 max_size) |
|
String | readData (uint04 max_size) |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
void | readNow (Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data) |
|
uint04 | readString (char *string, char terminator='\0') |
|
void | readString (String &string, char terminator='\0') |
|
template<class t_index_type , class t_memory_allocator , class t_memory_manager > |
void | readStringBuffer (Buffer< String, t_index_type, t_memory_allocator, t_memory_manager > &data, bool &allow_multithread) |
|
void | readStringData (bool has_reference_table) |
|
void | seek (uint08 location) |
|
void | setUseLargeCompression (bool use_large_compression) |
|
void | uncompressAll () |
|
void | uncompressSections (uint04 start, uint04 count) |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
std::enable_if<!ObjectInfo< t_type >::Buffer >::type | write (const Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data, CompressionMode compression_mode) |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
std::enable_if< ObjectInfo< t_type >::Buffer >::type | write (const Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data, CompressionMode compression_mode) |
|
template<class t_type > |
void | write (const t_type &data) |
|
void | writeCompression (BinaryCompressionObject &compression_object) |
|
void | writeRawData (const String &data, uint04 size, char fill_space='\0') |
|
void | writeStringData (CompressionMode compression_mode) |
|
| ~BinaryFile () |
|
Logic for reading or writing to a binary file including logic for.
compressing or decompressing the file