다음을 통해 공유


DataOutputStream.WriteByte(Int32) Method

Definition

Writes out a byte to the underlying output stream as a 1-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 an error occurs while writing to the target stream.

Remarks

Writes out a byte to the underlying output stream as a 1-byte value. If no exception is thrown, the counter written is incremented by 1.

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