Re: [Oorexx-devel] C++ API Question

2010-01-07 Thread Mark Miesfeld
On Thu, Jan 7, 2010 at 4:11 PM, David Ashley david.ashley@gmail.com wrote: Rick/Mark - I have come across a problem using the new C++ API. I have a buffer of data that I want to return from a method as a RexxString. The problem is that this buffer may contain embedded nulls, thus none of

Re: [Oorexx-devel] C++ API Question

2010-01-07 Thread Rick McGuire
Umm, there is a String conversion method that takes a length as well. Also, if you can predict the maximum length ahead of time, you can allocate a BufferString, read the data directly into the buffer string and than convert this into a true string using the appopriate length. The charin()