You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Andrew McGeachie (JIRA)" <ji...@apache.org> on 2010/07/21 21:20:50 UTC

[jira] Commented: (THRIFT-821) TMemoryBuffer needs a way to access the buffer

    [ https://issues.apache.org/jira/browse/THRIFT-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890837#action_12890837 ] 

Andrew McGeachie commented on THRIFT-821:
-----------------------------------------

I propose naming the new method:

- (NSData *) buffer;

rather than 'getBuffer' since the Cocoa convention is not to prefix getters with 'get' (don't ask me *why* that's the convention...).

Thoughts?

> TMemoryBuffer needs a way to access the buffer
> ----------------------------------------------
>
>                 Key: THRIFT-821
>                 URL: https://issues.apache.org/jira/browse/THRIFT-821
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (Cocoa)
>            Reporter: Kevin Ballard
>         Attachments: TMemoryBuffer.patch
>
>
> TMemoryBuffer in Cocoa provides no way to access the buffer. This makes it unusable for converting a thrift object into data, for use with an alternate transport mechanism.

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