@Override
    public void writeEnum(final int fieldNumber, final int value, boolean repeated)
            throws IOException
    {
        writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
        writeEnumNoTag(value);
    }
Write an enum field, including tag, to the stream. Caller is responsible for converting the enum value to its
numeric value.
protostuff-core/src/test/java/io/protostuff/CodedOutput.java