public static int makeTag(final int fieldNumber, final int wireType)
    {
        return (fieldNumber << TAG_TYPE_BITS) | wireType;
    }
Makes a tag value given a field number and wire type.
protostuff-api/src/main/java/io/protostuff/WireFormat.java