Java.IO.ObjectInputStream.SkipBytes Method
Skips length bytes on the source stream.

Syntax

[Android.Runtime.Register("skipBytes", "(I)I", "GetSkipBytes_IHandler")]
public virtual int SkipBytes (int length)

Parameters

length
the number of bytes to skip.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while skipping bytes on the source stream.
Java.Lang.NullPointerExceptionif the source stream is null.

Remarks

Skips length bytes on the source stream. This method should not be used to skip bytes at any arbitrary position, just when reading primitive data types (int, char etc).

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1