Share via


DataInputStream.ReadLong Method

Definition

See the general contract of the readLong method of DataInput.

[Android.Runtime.Register("readLong", "()J", "")]
public long ReadLong ();
[<Android.Runtime.Register("readLong", "()J", "")>]
abstract member ReadLong : unit -> int64
override this.ReadLong : unit -> int64

Returns

the next eight bytes of this input stream, interpreted as a long.

Implements

Attributes

Exceptions

Remarks

See the general contract of the readLong method of DataInput.

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

Java documentation for java.io.DataInputStream.readLong().

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