JBufferTest::testStreamSeek
Testing stream_seek.
Signature
public function testStreamSeek(string
$buffer,
string
$name,
int
$position,
int
$offset,
int
$whence,
bool
$expected,
int
$expectedPos )
Parameters
-
$buffer
- The buffer to perform the operation upon
-
$name
- The name of the buffer
-
$position
- The position in the buffer of the current pointer
-
$offset
- The movement of the pointer
-
$whence
- The buffer seek op code
-
$expected
- The expected test return
-
$expectedPos
- The new buffer position pointer
Returns
- void