public static StringBuilder formatBit(StringBuilder buf,boolean b){
  return buf.append(b ? '1' : '0');
}

public static StringBuilder formatBit ( StringBuilder buf , boolean b ) { return buf . append ( b ? '1' : '0' ) ; }
format a boolean value as string " 1 " or " 0 " .
