Sdílet prostřednictvím


RandomAccessFile.WriteByte(Int32) Method

Definition

Writes a byte to the file as a one-byte value.

[Android.Runtime.Register("writeByte", "(I)V", "")]
public void WriteByte (int v);
[<Android.Runtime.Register("writeByte", "(I)V", "")>]
abstract member WriteByte : int -> unit
override this.WriteByte : int -> unit

Parameters

v
Int32

a byte value to be written.

Implements

Attributes

Exceptions

if this file is closed or another I/O error occurs.

Remarks

Writes a byte to the file as a one-byte value. The write starts at the current position of the file pointer.

Java documentation for java.io.RandomAccessFile.writeByte(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

See also