incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Schildmeijer (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DEFT-115) Raw byte[] instead of US_ASCII encoded String
Date Sat, 23 Jul 2011 14:49:09 GMT

     [ https://issues.apache.org/jira/browse/DEFT-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Roger Schildmeijer reassigned DEFT-115:
---------------------------------------

    Assignee: Roger Schildmeijer

> Raw byte[] instead of US_ASCII encoded String
> ---------------------------------------------
>
>                 Key: DEFT-115
>                 URL: https://issues.apache.org/jira/browse/DEFT-115
>             Project: Deft
>          Issue Type: Improvement
>            Assignee: Roger Schildmeijer
>         Attachments: DEFT-115.patch
>
>
> Another good point made by github/williame
> This is how we append data to the read buffer in the (buffered) AS.
>     readBuffer.append(new String(buffer.array(), 0, buffer.position(), Charsets.US_ASCII));
> It's probably a bad idea to prematurely US_ASCII encode the data at this low level. (Encoding
should be protocol/client specific). We should consider providing raw byte[] instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message