IDataOutput.WriteByte(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將參數 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
參數
- v
- Int32
要寫入的位元組值。
- 屬性
例外狀況
如果在寫入過程中發生 I/O 錯誤。
備註
將參數 v的八個低階位元寫入輸出串流。 這 24 個高階位元 v 會被忽略。 (這表示 與 writeByte 整數參數的運作完全相同 write 。)此方法所寫的位元組可由 readByte 介面 DataInput方法讀取,該方法會回傳 byte 等於 (byte)v的 。
Java 文件 java.io.DataOutput.writeByte(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。