Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-393

byte[] constructor for Utf8 desired

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • java
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. byte_utf8.patch
          2 kB
          Jeff Hodges

        Activity

          People

            jmhodges Jeff Hodges
            jmhodges Jeff Hodges
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: