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

Doug Cutting resolved AVRO-738.
-------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 1.5.1)

This was made obsolete by AVRO-753.  Resolving.

> BinaryEncoder's init() function does not reset the OutputStream of the 
> embedded SimpleByteWriter
> ------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-738
>                 URL: https://issues.apache.org/jira/browse/AVRO-738
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.4.1
>            Reporter: Devajyoti Sarkar
>            Priority: Critical
>
> This is a problem if one is trying to reuse the BinaryEncoder by passing a 
> new OutputStream with the init() method. While the encoder will write all the 
> fields to the new OutputStream, fields that are of type "bytes" do not get 
> written. This effectively means that one needs to create a new BinaryEncoder 
> each time if one is serializing record with a "bytes" field in it.

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

Reply via email to