114 |
stream_end = 3 |
stream_end = 3 |
115 |
} stream_whence_t; |
} stream_whence_t; |
116 |
|
|
117 |
|
typedef enum { |
118 |
|
endian_little = 0, |
119 |
|
endian_big = 1, |
120 |
|
endian_native = 2 |
121 |
|
} endian_t; |
122 |
|
|
123 |
/** Provides convenient methods to access data of RIFF chunks in general. */ |
/** Provides convenient methods to access data of RIFF chunks in general. */ |
124 |
class Chunk { |
class Chunk { |
125 |
public: |
public: |
256 |
class File : public List { |
class File : public List { |
257 |
public: |
public: |
258 |
File(uint32_t FileType); |
File(uint32_t FileType); |
259 |
|
File(uint32_t FileType, endian_t Endian); |
260 |
File(const String& path); |
File(const String& path); |
261 |
stream_mode_t GetMode(); |
stream_mode_t GetMode(); |
262 |
bool SetMode(stream_mode_t NewMode); |
bool SetMode(stream_mode_t NewMode); |