Share via


DataInputStream.SkipBytes(Int32) Method

Definition

See the general contract of the skipBytes method of DataInput.

[Android.Runtime.Register("skipBytes", "(I)I", "")]
public int SkipBytes (int n);
[<Android.Runtime.Register("skipBytes", "(I)I", "")>]
abstract member SkipBytes : int -> int
override this.SkipBytes : int -> int

Parameters

n
Int32

the number of bytes to be skipped.

Returns

the actual number of bytes skipped.

Implements

Attributes

Exceptions

if a problem occurs during skipping.

Remarks

See the general contract of the skipBytes method of DataInput.

Bytes for this operation are read from the contained input stream.

Java documentation for java.io.DataInputStream.skipBytes(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to