Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-712

Inspect should print binary fields as hex instead of escaped string

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.3
    • Ruby - Library
    • None

    Description

      If you have a struct with a binary field and you call #inspect, you'll get back the string-escaped version of the field, which is super ugly and hard to read. I think it would be a lot more useful if it returned the binary value as a hex-encoded string.

      Attachments

        1. thrift-712.patch
          4 kB
          Bryan Duxbury

        Activity

          People

            bryanduxbury Bryan Duxbury
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: