You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/02/18 23:03:27 UTC

[jira] Closed: (THRIFT-712) Inspect should print binary fields as hex instead of escaped string

     [ https://issues.apache.org/jira/browse/THRIFT-712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-712.
--------------------------------

    Resolution: Fixed

Committed.

> Inspect should print binary fields as hex instead of escaped string
> -------------------------------------------------------------------
>
>                 Key: THRIFT-712
>                 URL: https://issues.apache.org/jira/browse/THRIFT-712
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (Ruby)
>    Affects Versions: 0.2
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.3
>
>         Attachments: thrift-712.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.