private DCCppMessage loadChars() throws java.io.IOException {
  String s="";
  byte char1;
  boolean found_start=false;
  while (!found_start) {
    char1=readByteProtected(inpipe);
    if ((char1 & 0xFF) == '<') {
      found_start=true;
      log.debug("Found starting < ");
      break;
    }
 else {
      char1=readByteProtected(inpipe);
    }
  }
  for (int i=0; i < DCCppConstants.MAX_MESSAGE_SIZE; i++) {
    char1=readByteProtected(inpipe);
    if (char1 == '>') {
      log.debug("msg found > ");
      break;
    }
 else {
      log.debug("msg read byte {}",char1);
      char c=(char)(char1 & 0x00FF);
      s+=Character.toString(c);
    }
  }
  log.debug("Complete message = {}",s);
  return (DCCppMessage.parseDCCppMessage(s));
}

private DCCppMessage loadChars ( ) throws java . io . IOException { String s = "" ; byte char1 ; boolean found_start = false ; while ( ! found_start ) { char1 = readByteProtected ( inpipe ) ; if ( ( char1 & 0xFF ) == '<' ) { found_start = true ; log . debug ( "Found starting < " ) ; break ; } else { char1 = readByteProtected ( inpipe ) ; } } for ( int i = 0 ; i < DCCppConstants . MAX_MESSAGE_SIZE ; i ++ ) { char1 = readByteProtected ( inpipe ) ; if ( char1 == '>' ) { log . debug ( "msg found > " ) ; break ; } else { log . debug ( "msg read byte {}" , char1 ) ; char c = ( char ) ( char1 & 0x00FF ) ; s += Character . toString ( c ) ; } } log . debug ( "Complete message = {}" , s ) ; return ( DCCppMessage . parseDCCppMessage ( s ) ) ; }
get characters from the input source , and file a message . < p > returns only when the message is complete . < p > only used in the receive thread .
