On 24/04/2015 06:17, Marvin Humphrey wrote:
I'd like to propose a new class for the Clownfish core: Blob, a
wrapper for constant binary data.

Blob is to ByteBuf as String is to CharBuf.

Introducing Blob will allow us to wrap host-supplied arbitrary binary
data the same way we wrap host-supplied UTF-8 content with String.
Right now we wrap such data with ByteBuf, which is dangerous because
ByteBuf allows the content to be manipulated.

+1. Also see CLOWNFISH-11:

    https://issues.apache.org/jira/browse/CLOWNFISH-11

Nick

Reply via email to