public JBBPOut Bool ( final boolean value , final JBBPBitOrder bitOrder ) throws IOException { assertNotEnded ( ) ; if ( this . processCommands ) { this . outStream . write ( value ? bitOrder == JBBPBitOrder . MSB0 ? 0x80 : 1 : 0 ) ; } return this ; }
Write a boolean value into the session stream as a byte .