ProtoOutputStream.GetBytes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
完成資料編碼後,回傳一個位元組,包含 protobuf 格式的資料。
[Android.Runtime.Register("getBytes", "()[B", "", ApiSince=30)]
public byte[] GetBytes();
[<Android.Runtime.Register("getBytes", "()[B", "", ApiSince=30)>]
member this.GetBytes : unit -> byte[]
傳回
Byte[]
- 屬性
備註
完成資料編碼後,回傳一個位元組,包含 protobuf 格式的資料。
此呼叫後,不要呼叫任何 write* 函式。 行為是無法定義的。
Java 文件 android.util.proto.ProtoOutputStream.getBytes()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。