Wrapper around fseek(). Will throw if seeking is not possible.
Declared in <streams.h>
void
seek(
int64_t offset,
int origin);
| Name | Description |
|---|---|
| offset | Byte offset to seek to, interpreted relative to origin. |
| origin | Reference point for the seek (e.g. SEEK_SET, SEEK_CUR, SEEK_END). |