h1 -> h2 for Throws
[mdref/mdref-pq] / pq / LOB / seek.md
1 # int pq\LOB::seek(int $offset[, int $whence = SEEK_SET])
2
3 Seek to a position within the *large object*.
4
5 ## Params:
6
7 * int $offset
8 The position to seek to.
9 * Optional int $whence = SEEK_SET
10 From where to seek (SEEK_SET, SEEK_CUR or SEEK_END).
11
12 ## Returns:
13
14 * int, the new position.
15
16 ## Throws:
17
18 * pq\Exception\InvalidArgumentException
19 * pq\Exception\BadMethodCallException
20 * pq\Exception\RuntimeException