code: 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());
      }
docs: Alternate decode interface that takes a String containing the encoded
  buffer and returns a byte array containing the data.
  @exception CEFormatException An error has occured while decoding