public byte decodeBuffer(String inputString)[] throws IOException {
  byte inputBuffer[]=new byte[inputString.length()];
  ByteArrayInputStream inStream;
  ByteArrayOutputStream outStream;
  inputString.getBytes(0,inputString.length(),inputBuffer,0);
  inStream=new ByteArrayInputStream(inputBuffer);
  outStream=new ByteArrayOutputStream();
  decodeBuffer(inStream,outStream);
  return (outStream.toByteArray());
}

public byte decodeBuffer ( String inputString ) [ ] throws IOException { byte inputBuffer [ ] = new byte [ inputString . length ( ) ] ; ByteArrayInputStream inStream ; ByteArrayOutputStream outStream ; inputString . getBytes ( 0 , inputString . length ( ) , inputBuffer , 0 ) ; inStream = new ByteArrayInputStream ( inputBuffer ) ; outStream = new ByteArrayOutputStream ( ) ; decodeBuffer ( inStream , outStream ) ; return ( outStream . toByteArray ( ) ) ; }
alternate decode interface that takes a string containing the encoded buffer and returns a byte array containing the data .
