private TamsMessage loadChars() throws java.io.IOException {
  int nchars;
  byte[] rcvBuffer=new byte[32];
  nchars=inpipe.read(rcvBuffer,0,32);
  TamsMessage msg=new TamsMessage(nchars);
  for (int i=0; i < nchars; i++) {
    msg.setElement(i,rcvBuffer[i] & 0xFF);
  }
  return msg;
}

private TamsMessage loadChars ( ) throws java . io . IOException { int nchars ; byte [ ] rcvBuffer = new byte [ 32 ] ; nchars = inpipe . read ( rcvBuffer , 0 , 32 ) ; TamsMessage msg = new TamsMessage ( nchars ) ; for ( int i = 0 ; i < nchars ; i ++ ) { msg . setElement ( i , rcvBuffer [ i ] & 0xFF ) ; } return msg ; }
get characters from the input source .
