Compartilhar via


RandomAccessFile.WriteLong(Int64) Method

Definition

Writes a long to the file as eight bytes, high byte first.

[Android.Runtime.Register("writeLong", "(J)V", "")]
public void WriteLong (long v);
[<Android.Runtime.Register("writeLong", "(J)V", "")>]
abstract member WriteLong : int64 -> unit
override this.WriteLong : int64 -> unit

Parameters

v
Int64

a long to be written.

Implements

Attributes

Exceptions

if an I/O error occurs while writing to this file.

Remarks

Writes a long to the file as eight bytes, high byte first. The write starts at the current position of the file pointer.

Java documentation for java.io.RandomAccessFile.writeLong(long).

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

See also