共用方式為


DataOutputStream.WriteLong(Int64) Method

Definition

Writes a long to the underlying output stream 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

Remarks

Writes a long to the underlying output stream as eight bytes, high byte first. In no exception is thrown, the counter written is incremented by 8.

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