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

Aki Sukegawa resolved THRIFT-2980.
----------------------------------
       Resolution: Fixed
         Assignee: Chandler May  (was: Simon South)
    Fix Version/s: 0.10.0

committect, thanks for the swift fix !

> ThriftMemoryBuffer doesn't have a constructor option to take an existing 
> buffer
> -------------------------------------------------------------------------------
>
>                 Key: THRIFT-2980
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2980
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C glib - Library
>            Reporter: Eugene Tolmachev
>            Assignee: Chandler May
>             Fix For: 0.10.0
>
>
> If I want to do a straight-up serialization/deserialization sans RPC I'd like 
> to be able to read like this C# does:
> bq. Item Deserialize(byte[] bytes) {  using (var trans = new 
> TMemoryBuffer(bytes)) using (var proto = new TBinaryProtocol(trans)) return 
> new Item().Do(item => item.Read(proto)); }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to