public static int getTagWireType(final int tag)
    {
        return tag & TAG_TYPE_MASK;
    }
Given a tag value, determines the wire type (the lower 3 bits).
protostuff-api/src/main/java/io/protostuff/WireFormat.java