C++ class to serialize to a buffer

2014-01-08 Thread Pedro Larroy
Hi I need to serialize to a buffer and after failing by using streams and the private OutputStream derived classes as the padding was included in the buffer I implemented something like: class BufferedOutputStream : public avro::OutputStream { public: std::vector m_buf; BufferedOutputSt

[jira] [Commented] (AVRO-1382) Support for python3

2014-01-08 Thread Pedro Larroy (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865386#comment-13865386 ] Pedro Larroy commented on AVRO-1382: Hi Christophe, did you integrate my cha

Re: unsigned types

2013-12-12 Thread Pedro Larroy
This would be very good. Is there a plan / schedule for Avro 2.0? Pedro. On Wed, Dec 11, 2013 at 9:16 PM, Doug Cutting wrote: > On Wed, Dec 11, 2013 at 9:37 AM, Pedro Larroy > wrote: > > > I think it would be good to have avro as a generic > > serialization format no

Re: [jira] [Commented] (AVRO-1382) Support for python3

2013-12-12 Thread Pedro Larroy
There were just some strings replaced by ant, and I prefer to have the python module more standalone, on the other side still we need to then put the avro version somewhere, which so far is an ant replacement string in the released versions. Pedro. On Thu, Dec 12, 2013 at 12:18 AM, Doug Cutting

Re: unsigned types

2013-12-11 Thread Pedro Larroy
( > https://developers.google.com/protocol-buffers/docs/encoding#types) > > Interested to hear other opinions on the matter! > > Martin > > > On 11 December 2013 12:38, Pedro Larroy >wrote: > > > Hi > > > > Is there any reason except the java ce

[jira] [Commented] (AVRO-1382) Support for python3

2013-12-11 Thread Pedro Larroy (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845527#comment-13845527 ] Pedro Larroy commented on AVRO-1382: https://pypi.python.org/pypi/avro3k/1

[jira] [Commented] (AVRO-1382) Support for python3

2013-12-11 Thread Pedro Larroy (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845464#comment-13845464 ] Pedro Larroy commented on AVRO-1382: Hi Now the unittests are all passing. >

unsigned types

2013-12-11 Thread Pedro Larroy
Hi Is there any reason except the java centric focus of avro that it shouldn't support unsigned types? We use them extensively and I'm thinking for us* it would be useful to have them as we use mostly C++ <-> python communication with avro. Would this be accepted in the official avro distribution

[jira] [Commented] (AVRO-1382) Support for python3

2013-12-11 Thread Pedro Larroy (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845348#comment-13845348 ] Pedro Larroy commented on AVRO-1382: Hi I'm also working on this as I need