Github user thomaslee commented on the pull request:

    https://github.com/apache/thrift/pull/705#issuecomment-163522525
  
    @nsuke how does this look? Ultimately did away with the setter entirely & I 
think the API's a little cleaner for it.
    
    In addition to applying your other feedback I added a convenience method 
`clear()` which will probably prove useful for folks who might want to reuse 
TByteBuffer transports (e.g. folks using long-lived direct buffers for Thrift 
serialization). You can see an example in the tests.



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to