public static int computeBoolSize(final int fieldNumber,
            final boolean value)
    {
        return computeTagSize(fieldNumber) + computeBoolSizeNoTag(value);
    }
Compute the number of bytes that would be needed to encode a {@code bool} field, including tag.
protostuff-core/src/test/java/io/protostuff/CodedOutput.java