[
https://issues.apache.org/jira/browse/CLOWNFISH-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Wellnhofer moved LUCY-266 to CLOWNFISH-11:
-----------------------------------------------
Component/s: (was: Clownfish)
Workflow: jira (was: no-reopen-closed)
Key: CLOWNFISH-11 (was: LUCY-266)
Project: Apache Lucy-Clownfish (was: Lucy)
> Rework ByteBuf
> --------------
>
> Key: CLOWNFISH-11
> URL: https://issues.apache.org/jira/browse/CLOWNFISH-11
> Project: Apache Lucy-Clownfish
> Issue Type: Task
> Reporter: Nick Wellnhofer
> Priority: Minor
>
> I recently toyed with the idea of reworking Clownfish's ByteBuf in a way
> similar to the immutable String changes. This would mean to use a separate
> class for immutable byte buffers replacing ViewByteBuf and restrict ByteBuf
> to creating byte buffers.
> The immutable ByteBuf class could then have a companion iterator class that
> can be used to parse a byte buffer's content. All the NumUtils_decode_*
> functions could go there, for example.
> The NumUtils_encode_* function could be made methods of the mutable ByteBuf.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)