private void writeInteger ( int value ) throws IOException { if ( value < 0 ) { out . write ( TAG_NEGATIVE_INT ) ; writeIntegerNoTag ( - value ) ; } else { out . write ( TAG_POSITIVE_INT ) ; writeIntegerNoTag ( value ) ; } }
Write an integer to the output stream .