98
Java Objectinputstream skipBytes() Method
The skipBytes() method of ObjectInputStream class is used to skip the bytes by the numbers passed as the parameter.
Syntax
Parameter
len as the number of bytes to be skipped
Returns
The actual number of bytes skipped.
Throws
IOException
Example 1
Output:
Tpoint TutorAspire provide
Example 2
Output:
ome to j
Next TopicJava ObjectInputStream