Partager via


ProtoOutputStream.WriteTag(Int32, Int32) Method

Definition

Write an individual field tag by hand.

[Android.Runtime.Register("writeTag", "(II)V", "", ApiSince=30)]
public void WriteTag (int id, int wireType);
[<Android.Runtime.Register("writeTag", "(II)V", "", ApiSince=30)>]
member this.WriteTag : int * int -> unit

Parameters

id
Int32
wireType
Int32
Attributes

Remarks

Write an individual field tag by hand.

See Protobuf Encoding for details on the structure of how tags and data are written.

Java documentation for android.util.proto.ProtoOutputStream.writeTag(int, 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.

Applies to