You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Matt Massie (JIRA)" <ji...@apache.org> on 2010/01/22 23:38:21 UTC

[jira] Updated: (AVRO-370) Add support for encoding/decoding fixed data

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

Matt Massie updated AVRO-370:
-----------------------------

    Attachment: AVRO-370.patch

> Add support for encoding/decoding fixed data
> --------------------------------------------
>
>                 Key: AVRO-370
>                 URL: https://issues.apache.org/jira/browse/AVRO-370
>             Project: Avro
>          Issue Type: Improvement
>          Components: c
>            Reporter: Matt Massie
>            Assignee: Matt Massie
>             Fix For: 1.3.0
>
>         Attachments: AVRO-370.patch
>
>
> This patch add fixed data support to the C implementation
> Just as with {{string}} and {{bytes}} processing, I have added two new methods: {{avro_wrapfixed}}, {{avro_givefixed}} to allow developers that freedom to decide how the bytes of memory are managed.  {{avro_wrapfixed}} will not free the bytes when the fixed datum is dereferenced.  {{avro_givefixed}} will free the bytes memory when dereferenced.  {{avro_fixed}} will make a copy of the bytes.
> I also plugged a small potential memory leak issue that could occur because of IO errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.