Base class for module files. More...
#include <modfilebase.h>
Protected Member Functions | |
FileBase (FileName file) | |
FileBase (IOStream *stream) | |
void | writeString (const String &s, unsigned long size, char padding=0) |
void | writeByte (unsigned char byte) |
void | writeU16L (unsigned short number) |
void | writeU32L (unsigned long number) |
void | writeU16B (unsigned short number) |
void | writeU32B (unsigned long number) |
bool | readString (String &s, unsigned long size) |
bool | readByte (unsigned char &byte) |
bool | readU16L (unsigned short &number) |
bool | readU32L (unsigned long &number) |
bool | readU16B (unsigned short &number) |
bool | readU32B (unsigned long &number) |
![]() | |
File (FileName fileName) | |
File (IOStream *stream) | |
void | setValid (bool valid) |
void | truncate (offset_t length) |
Additional Inherited Members | |
![]() | |
enum | Position { Beginning , Current , End } |
enum | StripTags { StripNone , StripOthers } |
enum | DuplicateTags { Duplicate , DoNotDuplicate } |
![]() | |
static unsigned int | bufferSize () |
Base class for module files.
|
override |
|
protected |
|
protected |
|
protected |