Skip over the number of specified bytes from the given random access file, data input stream or data input object.
Syntax
skipBytes( randomaccessfile , offset )
randomaccessfile.skipBytes( offset )
Parameters
randomaccessfile
|
the random access file, data input stream or data input object to use.
|
offset
|
the number of bytes to skip.
|
Returns
integer
|
the number of bytes skipped.
-1 if end of file was reached.
|
Example
tOffset = fh.skipBytes( offset )
|