Package org.infinispan.protostream.impl
Class WireFormat
- java.lang.Object
-
- org.infinispan.protostream.impl.WireFormat
-
@Deprecated public final class WireFormat extends Object
Deprecated.replaced byWireType
. To be removed in version 5.Defines numeric constants for wire types. Also helps extracting the wire type and field number out of a tag.- Author:
- [email protected]
-
-
Field Summary
Fields Modifier and Type Field Description static int
WIRETYPE_END_GROUP
Deprecated.static int
WIRETYPE_FIXED32
Deprecated.static int
WIRETYPE_FIXED64
Deprecated.static int
WIRETYPE_LENGTH_DELIMITED
Deprecated.static int
WIRETYPE_START_GROUP
Deprecated.static int
WIRETYPE_VARINT
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
getTagFieldNumber(int tag)
Deprecated.Given a tag value, determines the field number (the upper 29 bits).static int
getTagWireType(int tag)
Deprecated.Given a tag value, determines the wire type (the lower 3 bits).static int
makeTag(int fieldNumber, int wireType)
Deprecated.Makes a tag value given a field number and wire type.
-
-
-
Field Detail
-
WIRETYPE_VARINT
public static final int WIRETYPE_VARINT
Deprecated.- See Also:
- Constant Field Values
-
WIRETYPE_FIXED64
public static final int WIRETYPE_FIXED64
Deprecated.- See Also:
- Constant Field Values
-
WIRETYPE_LENGTH_DELIMITED
public static final int WIRETYPE_LENGTH_DELIMITED
Deprecated.- See Also:
- Constant Field Values
-
WIRETYPE_START_GROUP
public static final int WIRETYPE_START_GROUP
Deprecated.- See Also:
- Constant Field Values
-
WIRETYPE_END_GROUP
public static final int WIRETYPE_END_GROUP
Deprecated.- See Also:
- Constant Field Values
-
WIRETYPE_FIXED32
public static final int WIRETYPE_FIXED32
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
makeTag
public static int makeTag(int fieldNumber, int wireType)
Deprecated.Makes a tag value given a field number and wire type.
-
getTagWireType
public static int getTagWireType(int tag)
Deprecated.Given a tag value, determines the wire type (the lower 3 bits).
-
getTagFieldNumber
public static int getTagFieldNumber(int tag)
Deprecated.Given a tag value, determines the field number (the upper 29 bits).
-
-