XStream
  1. XStream
  2. XSTR-25

Converters for char[] and byte[]

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      A char array would be better stored as a single string and a byte array as a uuencoded (or something similar string).

      class Thing {
      char[] letters = new char[]

      {'h','e','l','l','o'}

      ;
      byte[] data = new byte[]

      { .... }

      }

      <thing>
      <letters>hello</letters>
      <data format="uuencode">ASDFDSGFEDFG%6464EFe5t</data>
      </thing>

        People

        • Assignee:
          Unassigned
          Reporter:
          Joe Walnes
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: