Java.IO.InputStream.Skip Method
Skips at most byteCount bytes in this stream.

Syntax

[Android.Runtime.Register("skip", "(J)J", "GetSkip_JHandler")]
public virtual long Skip (long n)

Parameters

byteCount
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif this stream is closed or another IOException occurs.

Remarks

Skips at most byteCount bytes in this stream. The number of actual bytes skipped may be anywhere between 0 and byteCount. If byteCount is negative, this method does nothing and returns 0, but some subclasses may throw.

Note the "at most" in the description of this method: this method may choose to skip fewer bytes than requested. Callers should always check the return value.

This default implementation reads bytes into a temporary buffer. Concrete subclasses should provide their own implementation.

[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