Compartilhar via


DataInputStream.ReadUnsignedByte Method

Definition

See the general contract of the readUnsignedByte method of DataInput.

[Android.Runtime.Register("readUnsignedByte", "()I", "")]
public int ReadUnsignedByte ();
[<Android.Runtime.Register("readUnsignedByte", "()I", "")>]
abstract member ReadUnsignedByte : unit -> int
override this.ReadUnsignedByte : unit -> int

Returns

the next byte of this input stream, interpreted as an unsigned 8-bit number.

Implements

Attributes

Exceptions

Remarks

See the general contract of the readUnsignedByte method of DataInput.

Bytes for this operation are read from the contained input stream.

Java documentation for java.io.DataInputStream.readUnsignedByte().

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