public static int computeTagSize(final int fieldNumber)
    {
        return computeRawVarint32Size(WireFormat.makeTag(fieldNumber, 0));
    }
Compute the number of bytes that would be needed to encode a tag.
protostuff-core/src/test/java/io/protostuff/CodedOutput.java