qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alanconway <...@git.apache.org>
Subject [GitHub] qpid-proton pull request: NO-JIRA: Measure size of encoded data.
Date Wed, 11 Mar 2015 18:29:04 GMT
Github user alanconway commented on the pull request:

    https://github.com/apache/qpid-proton/pull/11#issuecomment-78340239
  
    On Wed, 2015-03-11 at 14:26 -0400, Alan Conway wrote:
    > On Wed, 2015-03-11 at 08:00 -0700, Andrew Stitcher wrote:
    > > Thinking about it a bit more, I think I particularly object to the new
    > > public API.
    > > What you really want at an API level here is simply a function to tell
    > > you how many bytes you need to allocate, not a strange combined
    > > encode, but if you can't tell how many bytes I would need.
    
    Not that strange BTW, this is what snprintf does.
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message