Hi;

 

I have a case where the text in a node is a uuencoded data stream. And it can be large – several hundred meg in cases.

 

At present the best way I have found to do this is to:

  1. String nodeText = node.getText();
  2. byte [] nodeData = nodeText.getBytes(“UTF-8”);
  3. byte [] data = "">

 

Is there a faster way to do this? It seems like this is converting the data at least once more than necessary.

 

Thanks – dave

 

Reply via email to