On Thu, Jun 4, 2015 at 7:42 PM, Marvin Humphrey <[email protected]> wrote: > On Wed, May 13, 2015 at 5:20 AM, Rafael Schloming <[email protected]> wrote:
>> - Can I use a single mutable string object and pass it in as an out >> parameter? > > Clownfish does provide a mutable string type -- CharBuf. Like String, though, > it's conceived as using the same encoding as the host string type -- so it may > not address your concern about avoiding duplication. > > There's also ByteBuf, a mutable type for manipulating raw binary data. It > won't help you with enforcing Unicode consistency, but it might provide the > necessary flexibility. I was able to reimplement the Proton string class using an internal Clownfish ByteBuf: https://github.com/rectang/qpid-proton/commits/cfish_exp1 Marvin Humphrey
