IDataOutput.WriteByte(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes to the output stream the eight low-
order bits of the argument v
.
[Android.Runtime.Register("writeByte", "(I)V", "GetWriteByte_IHandler:Java.IO.IDataOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteByte (int v);
[<Android.Runtime.Register("writeByte", "(I)V", "GetWriteByte_IHandler:Java.IO.IDataOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WriteByte : int -> unit
Parameters
- v
- Int32
the byte value to be written.
- Attributes
Exceptions
if an I/O error occurs while writing.
Remarks
Writes to the output stream the eight low- order bits of the argument v
. The 24 high-order bits of v
are ignored. (This means that writeByte
does exactly the same thing as write
for an integer argument.) The byte written by this method may be read by the readByte
method of interface DataInput
, which will then return a byte
equal to (byte)v
.
Java documentation for java.io.DataOutput.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.