InputStream.seek

Change the current reading position.

interface InputStream
long
seek
()

Parameters

position long

The position to seek to, from the beginning.

Return Value

Type: long

The position actually sought to, or -1 on error.

Meta