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
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.
-
You can reply to this email to add a comment to the issue online.