ProtoOutputStream.GetBytes 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.
Finish the encoding of the data, and return a byte[] with the protobuf formatted data.
[Android.Runtime.Register("getBytes", "()[B", "", ApiSince=30)]
public byte[] GetBytes ();
[<Android.Runtime.Register("getBytes", "()[B", "", ApiSince=30)>]
member this.GetBytes : unit -> byte[]
Returns
- Attributes
Remarks
Finish the encoding of the data, and return a byte[] with the protobuf formatted data.
After this call, do not call any of the write* functions. The behavior is undefined.
Java documentation for android.util.proto.ProtoOutputStream.getBytes()
.
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.