ObjectInputStream.ReadLong Method

Definition

Reads a 64 bit long.

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

Returns

the read 64 bit long.

Implements

Attributes

Exceptions

if the end of the input is reached before the read request can be satisfied.

if an error occurs while reading from the source stream.

Remarks

Reads a 64 bit long.

Java documentation for java.io.ObjectInputStream.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