import "zapIFileIn.idl";
Public Member Functions | |
| long long | seek (in long long offset, in short origin) |
| Seek to the given position or by the given offset. | |
Public Attributes | |
| const short | ZAP_FILEIN_SEEK_SET = 0 |
| Origins for seeking. | |
| const short | ZAP_FILEIN_SEEK_CUR = 1 |
| const short | ZAP_FILEIN_SEEK_END = 2 |
|
||||||||||||
|
Seek to the given position or by the given offset. A new streaminfo will be set, if this filein node was opened with generateEOF==true. Throws an exception if 'origin' is not one of the constants defined above, or if the file is not open. Returns the new offset measured in bytes from the beginning of the file if the seek was successful, or -1 otherwise. |
|
|
|
|
|
|
|
|
Origins for seeking.
|
1.4.4