ProtoOutputStream.WireTypeMask Field
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.
Caution
This constant will be removed in the future version. Use Android.Util.Proto.WireType enum directly instead of this field.
Mask to select the wire type from a tag.
[Android.Runtime.Register("WIRE_TYPE_MASK", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Util.Proto.WireType enum directly instead of this field.", true)]
public const Android.Util.Proto.WireType WireTypeMask = 7;
[<Android.Runtime.Register("WIRE_TYPE_MASK", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Util.Proto.WireType enum directly instead of this field.", true)>]
val mutable WireTypeMask : Android.Util.Proto.WireType
Field Value
Value = 7- Attributes
Remarks
Mask to select the wire type from a tag.
// Reading a wire type from a tag.
int wireType = tag & WIRE_TYPE_MASK;
// Building a tag from a field number and a wire type.
int tag = (fieldNumber << FIELD_ID_SHIFT) | wireType;
Android reference for android.util.proto.ProtoOutputStream.WIRE_TYPE_MASK.
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.