

Public Methods | |
| CFile (FILE *file) | |
| ~CFile () | |
| int ADR_CALL | read (void *buffer, int size) |
| bool ADR_CALL | seek (int position, SeekMode mode) |
| int ADR_CALL | tell () |
|
|
Definition at line 9 of file file_ansi.cpp. |
|
|
Definition at line 13 of file file_ansi.cpp. |
|
||||||||||||
|
Read size bytes from the file, storing them in buffer.
Implements audiere::File. Definition at line 17 of file file_ansi.cpp. References ADR_CALL. |
|
||||||||||||
|
Jump to a new position in the file, using the specified seek mode. Remember: if mode is END, the position must be negative, to seek backwards from the end of the file into its contents. If the seek fails, the current position is undefined.
Implements audiere::File. Definition at line 21 of file file_ansi.cpp. References ADR_CALL, audiere::File::BEGIN, audiere::File::CURRENT, audiere::File::END, and audiere::File::SeekMode. |
|
|
Get current position within the file.
Implements audiere::File. Definition at line 33 of file file_ansi.cpp. References ADR_CALL. |
1.2.17