public void writeInt(int value) {
		try {
			buffer.writeInt(4);
			buffer.writeInt(value);
		} catch (Exception e) {
			throw new BinaryWriteFailedException(e);
		}
	}
public void writeInt ( int value ) { try { buffer . writeInt ( 4 ) ; buffer . writeInt ( value ) ; } catch ( Exception e ) { throw new BinaryWriteFailedException ( e ) ; } }
Writes primitive integer to the output stream

@param value value to write