public synchronized PacketBuilder withBoolean ( final boolean b ) { checkBuilt ( ) ; try { dataOutputStream . writeBoolean ( b ) ; } catch ( final IOException e ) { logger . error ( "Unable to add boolean: {} : {}" , e . getClass ( ) , e . getMessage ( ) ) ; } return this ; }
Adds a boolean