[ https://issues.apache.org/jira/browse/AVRO-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Hodges updated AVRO-393: ----------------------------- Attachment: byte_utf8.patch Here's a patch that adds a byte[] constructor to Utf8 and adds the beginnings of a TestUtf8 class. > byte[] constructor for Utf8 desired > ----------------------------------- > > Key: AVRO-393 > URL: https://issues.apache.org/jira/browse/AVRO-393 > Project: Avro > Issue Type: New Feature > Reporter: Jeff Hodges > Priority: Minor > Attachments: byte_utf8.patch > > > We've come across a few use cases where we know that a given byte array is > properly Utf8 encoded, but Utf8 has no constructor to take it. Instead, we > have to turn it into a String first just to have it swapped back. This is > sucky. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.