public synchronized PacketBuilder withInt ( final int i ) { checkBuilt ( ) ; try { dataOutputStream . writeInt ( i ) ; } catch ( final IOException e ) { logger . error ( "Unable to add integer: {} : {}" , e . getClass ( ) , e . getMessage ( ) ) ; } return this ; }
Adds an integer