code: public JBBPOut Bit(final boolean value) throws IOException {
      assertNotEnded();
      if (this.processCommands) {
        this.outStream.writeBits(value ? 1 : 0, JBBPBitNumber.BITS_1);
      }
      return this;
    }
docs: Write a bit into the session.
  
  @param value true if the bit is 1, 0 otherwise
  @return the DSL session
  @throws IOException it will be thrown for transport errors