@Override
    public void writeBool(final int fieldNumber, final boolean value, boolean repeated)
            throws IOException
    {
        writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
        writeBoolNoTag(value);
    }
Write a {@code bool} field, including tag, to the stream.
protostuff-core/src/test/java/io/protostuff/CodedOutput.java